![]() If an icon's style is not set or cannot be found, the icon's default style will be 'solid'īy default Font Awesome will replace elements. ![]() If an icon cannot be found show an animated "missing" icon in its place Searches for elements with a Font Awesome CSS family-name and content property and replaces with inline SVG If async will make replace icons using requestAnimationFrame Watch the DOM for any changes and add, replace, or modify icons on-the-fly If replacing with inline SVG keep an HTML comment with the original markupįor supporting browsers, add markers in the Performance section of developer tools? For Sharp icons, just add sharp in the same manner! familyPrefix can still be used, but it may be confusing now with our Family icon styles.įont Awesome Classic is the default if this is NOT specified. ![]() ![]() This property was previously called familyPrefix. Set to nest to insert SVGs as child elements.Ĭlass prefix for icons and CSS styles like fa-spin. Set to true to replace any elements that look like icons with the inline SVG. Insert the supporting CSS into the of the HTML document? Set up access to the Javascript API in your project.Īutomatically add accessibility features like aria-hidden?.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |