⁘ style

CSS_UTILS

go to → Members

Extends

Members

isBrowser :boolean

Inherited From:

Methods

protected_Bind(p_func)

Inherited From:

protected_Init()

Inherited From:

protected_PostInit()

Inherited From:

staticCSS(p_id, p_properties) → {string}

Return a CSS string formatted as id{ prop:value; }

Parameters:
Name Type Description
p_id string
p_properties object

staticCompose(p_base, p_source)

Add p_source properties & values from p_source missing into p_base. Only merge array, does not overwrite values.

Parameters:
Name Type Description
p_base *
p_source *

staticCSSImport(p_import_path) → {Element}

Return an HTMLElement formatted as

Parameters:
Name Type Description
p_import_path string

staticExtends(p_base, p_source)

Add p_source properties & values from p_source missing into p_base. Only merge array, does not overwrite values.

Parameters:
Name Type Description
p_base *
p_source *

staticInlineCSS(p_id, p_properties) → {string}

Return an inline CSS string formatted as prop:value;

Parameters:
Name Type Description
p_id string
p_properties object

staticMerge(p_base, p_source)

Overwrites properties in base with copies of value in source

Parameters:
Name Type Description
p_base *
p_source *

staticStyle(p_properties) → {Element}

Return a CSS style element formatted as

Parameters:
Name Type Description
p_properties Object | string