⁘ style

STYLE

go to → Members

Extends

Members

current :style.Palette

TODO

read-onlydefaultPalette :style.Palette

TODO

isBrowser :boolean

Inherited From:

Methods

protected_Bind(p_func)

Inherited From:

protected_Init()

Inherited From:

protected_PostInit()

Inherited From:

staticTF(p_text, p_format, p_type)

Text format

Parameters:
Name Type Description
p_text test
p_format object
Properties
Name Type Description
color string | style.color.ColorBase

only sets color (overriden by .style)

strong boolean

adds a tag

class string

css class

style object

inline CSS

p_type string

tag type

staticCreatePalette(p_initWithDefaults) → {style.Palette}

TODO

Parameters:
Name Type Default Description
p_initWithDefaults boolean true

staticDeployCurrent()

Deploy current document rulesets into the header. If it was deployed already, overwrites the previous statements.

staticGet(p_class, p_generator, p_invalidateCache) → {string}

Get the style associated to a constructor. Generate and cache the result provided by the generator function, if none is cached.

Parameters:
Name Type Default Description
p_class function

used as unique key to generate or access cache.

p_generator function
p_invalidateCache function false