IconSet
Editable icon set.
An icon set contains icons, aliases, variations, metadata, characters and categories. Use class methods to modify entries and categories instead of writing to entries and categories directly.
Properties
Functions
Find icons that belong to themes.
Export the icon set as Iconify JSON.
Find a category by title, optionally creating it with add.
List icons in a category.
Load icon set data, replacing the current contents.
Remove an icon. When removeDependencies is a string, aliases are re-parented to it.
Resolve an icon, alias or variation to icon data.
Add or update an icon from resolved icon data.
Add or remove a category for an icon. Returns true if the category changed.
Add or remove a character for an icon. Returns true if the character map changed.
Generate an SVG string for an icon.
Update the last modification time. Without value, uses the current time.