Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
Name | Summary |
---|---|
loadIcon | Creates an icon with the given glyph ID. |
loadIconByClass | Create an icon with the given icon lookup. This function provides more options than loadEmbeddedIcon . |
loadEmbeddedIcon | Create an icon with the given icon lookup. |
addDeviceIcon | Adds a device icon to the given element. |
addHostIcon | Adds a host icon to the given element. |
iconConfig | Returns the configuration for device and host icons in the Topology View. |
sortIcons | Returns an API (used in Tabular views) for adding ascending and descending icons, and removing them. |
Registers an icon-to-glyph mapping. |
Directive
Name | Other Attributes | Summary |
---|---|---|
icon | icon-id, icon-size | Creates an icon in the HTML element with the given ID of the given size. |
...
Example Usage | Arguments | Return Value |
---|---|---|
var sortAPI = is.sortIcons(); | none | an object containing an API (see below) |
Returned API Example Usage | Arguments | Return Value |
sortAPI.sortAsc(div ); | div - d3 selection of the div where the icon should be loaded | creates an up arrow for ascending sort direction, no return value |
sortAPI.sortDesc(div ); | div - d3 selection of the div where the icon should be loaded | creates a down arrow for ascending sort direction, no return value |
sortAPI.sortNone(div ); | div - d3 selection of the div that contains the icon that should be removed | removes the contents of div , no return value |
registerIconMapping
Registers an icon-to-glyph mapping
Example Usage | Arguments | Return Value |
---|---|---|
is.registerIconMapping( |
| None |
Directive
icon
Icons are also able to be loaded into HTML elements through an Angular directive.
...