AssignedStyles
AssignedStyles tracks programmatically (not via KSS) assigned styles for a node Assigned styles are never overwritten by local (KSS defined) or inherited styles
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public get |
infos: * |
Method Summary
Public Methods | ||
public |
Iterate over the {StyleInfo}s |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
Public Constructors
public constructor() source
Public Members
public get infos: * source
Public Methods
public delete(property: string): bool source
Params:
Name | Type | Attribute | Description |
property | string | like 'font-size' |
Return:
bool | true if property existed |
public get(property: string): StyleInfo source
Params:
Name | Type | Attribute | Description |
property | string | like 'font-size' |
public has(property: string): bool source
Params:
Name | Type | Attribute | Description |
property | string | like 'font-size' |
Return:
bool | true if the property is set |