Possible after adding the faUser
icon from the free-solid-svg-icons
package to the library.
The default prefix of fas
is assumed. Also, add a border.
icon
should be set equal to an array object with two string elements: the prefix and the icon name.
Using a string for an icon name also requires that this icon has been added to the library with library.add()
The icon object knows its own prefix, so the prefix is not specified in this case.
Click to toggle animation.
Slide to turn up the magic.
Custom icons created with multiple layers.
Using text as one of the layers.
Slide and increase the number.
Expect to see an error on the JavaScript console, and nothing shown between these bars:
|
Expect to see an error on the JavaScript console, and nothing shown between these bars: |