Interface IListStyleSheetAccessor
Package: @aurigma/design-atoms-text
Properties
name
Style name.
Declaration
name: string;
Property Value
Type | Description |
---|---|
string | Style name. |
Methods
getAllListStyles()
Returns all styles of the list.
Declaration
getAllListStyles(): IListStyle[];
Returns
Type | Description |
---|---|
IListStyle[] |
getListStyle(level)
Returns the style of the list by level.
Declaration
getListStyle(level: number): IListStyle | null;
Parameters
Type | Name | Description |
---|---|---|
number | level |
nesting level of the list item (starts at 0). |
Returns
Type | Description |
---|---|
IListStyle | null |
getListStyleSheet()
Returns list style sheet.
Declaration
getListStyleSheet(): IListStyleSheet;
Returns
Type | Description |
---|---|
IListStyleSheet |
setListStyle(level, style)
Sets the style of the list by level.
Declaration
setListStyle(level: number, style: IListStyle): void;
Parameters
Type | Name | Description |
---|---|---|
number | level |
nesting level of the list item (starts at 0). |
IListStyle | style |
list style. |
Returns
Type | Description |
---|---|
void |