addIconFamily

Typehandler
Dictionarylibrary.iconsvg
LibraryIcon SVG Library
Syntax
addIconFamily(<pFamily>,<pIconData>)
Associationscom.livecode.library.iconsvg
Summary

Add an icon family to the iconsvg library.

Parameters
NameTypeDescription
pFamily

The family for the icons.

pIconData

The icon data. Each key is an icon name with a key for the SVG data and a key for the codepoint.

RelatedHandler: addIcon, deleteIconFamily, iconFamilies, iconList, iconListForFamily, iconNames, iconNamesForFamily
Description

Add icons to the iconsvg library.

Note: If the family already exists, then the data will be merged. Icons with matching names will be replaced. To replace a family, use deleteIconFamily first.