Module: cercaliagl/Label


Classes

Label

Type Definitions

LabelOptions{Object}

Properties:
Name Type Argument Description
className string <optional>

Class name for CSS styling. Default empty.

color string <optional>

Label color. Default value '#000000'

background string <optional>

Label backgroud. The string format is the same than css tag. Default value 'none repeat scroll 0% 0% #ffffff'

fontWeight boolean <optional>

Bold text. Default: false

offset Array.<number> <optional>

Label offset, in pixels, from the bottom position of icon. Default value for default label is [-3, -18].

show boolean <optional>

Show text. Default value 1.

text string

Simple Label text (with no background).