API Docs for: trial
Show:

nx.graphic.Icons Class

Module: nx.graphic

Topology device icons collection

Item Index

Properties

Methods

get

(
  • type
)
Element

Get icon by type

Parameters:

Returns:

Element:

getSVGString

(
  • type
)
Element

Get icon"s svg string

Parameters:

Returns:

Element:

getTypeList

() Array

Get all types list

Returns:

registerIcon

(
  • name
  • url
  • width
  • height
)

Register a new icon to this collection

Parameters:

  • name String

    icon"s name

  • url URL

    icon"s url

  • width Number

    icon"s width

  • height Number

    icon"s height

Properties

icons

Unknown static

Get icons collection