IUIList
- Hierarchy
- Implemented by
- mods
- async
- ownerDocument
- od
- ownerWindow
- ow
- componentName
- uid
- isDestructed
- isInDestruct
- isReady
- componentStatus
- j
- i18n
- defaultTimeout
- parentElement
- container
- name
- elements
- allChildren
- jodit
- mode
- buttonSize
- buttons
- setMod
- afterSetMod
- getMod
- getElm
- getElms
- destruct
- get
- className
- getFullElName
- setStatus
- hookStatus
- bindDestruct
- setParentView
- bubble
- closest
- update
- updateParentElement
- appendTo
- append
- remove
- clear
- getButtonsNames
- setRemoveButtons
- build
types.IUIList
Hierarchy
-
↳
IUIList
↳↳
IToolbarCollection
Implemented by
mods
mods: IDictionary
<ModType
>
Inherited from
Defined in
async
Readonly
async: IAsync
Inherited from
Defined in
ownerDocument
Readonly
ownerDocument: Document
Inherited from
Defined in
od
Readonly
od: Document
Inherited from
Defined in
ownerWindow
Readonly
ownerWindow: Window
Inherited from
Defined in
ow
Readonly
ow: Window
Inherited from
Defined in
componentName
Readonly
componentName: string
Inherited from
Defined in
uid
Readonly
uid: string
Inherited from
Defined in
isDestructed
Readonly
isDestructed: boolean
Inherited from
Defined in
isInDestruct
Readonly
isInDestruct: boolean
Inherited from
Defined in
isReady
Readonly
isReady: boolean
Inherited from
Defined in
componentStatus
Readonly
componentStatus: ComponentStatus
Inherited from
Defined in
j
Readonly
j: IViewBased
<IViewOptions
>
Inherited from
Defined in
i18n
Readonly
i18n: (text
: string
, ...params
: (string
| number
)[]) => string
Type declaration
(text
, ...params
): string
Parameters
Name | Type |
---|---|
text |
string |
...params |
(string | number )[] |
Returns
string
Inherited from
Defined in
defaultTimeout
Readonly
defaultTimeout: number
Inherited from
Defined in
parentElement
parentElement: Nullable
<IUIElement
>
Inherited from
Defined in
container
container: HTMLElement
Inherited from
Defined in
name
name: string
Inherited from
Defined in
elements
Readonly
elements: IUIElement
[]
Inherited from
Defined in
allChildren
Readonly
allChildren: IUIElement
[]
Inherited from
Defined in
jodit
jodit: IViewBased
<IViewOptions
>
Overrides
Defined in
mode
mode: "vertical"
| "horizontal"
Defined in
buttonSize
buttonSize: "small"
| "tiny"
| "xsmall"
| "middle"
| "large"
Defined in
buttons
buttons: IUIButton
[]
Defined in
setMod
setMod<T
>(this
, name
, value
): T
Set/remove modification (null - remove)
Type parameters
Name | Type |
---|---|
T |
extends IComponent <IViewBased <IViewOptions >> & IContainer & IMods |
Parameters
Name | Type |
---|---|
this |
T |
name |
string |
value |
ModType |
Returns
T
Inherited from
Defined in
afterSetMod
afterSetMod(name
, value
): void
Parameters
Name | Type |
---|---|
name |
string |
value |
ModType |
Returns
void
Inherited from
Defined in
getMod
getMod(name
): ModType
Parameters
Name | Type |
---|---|
name |
string |
Returns
Inherited from
Defined in
getElm
getElm(elementName
): Nullable
<HTMLElement
>
Parameters
Name | Type |
---|---|
elementName |
string |
Returns
Inherited from
Defined in
getElms
getElms(elementName
): HTMLElement
[]
Parameters
Name | Type |
---|---|
elementName |
string |
Returns
Inherited from
Defined in
destruct
destruct(jodit?
): any
Parameters
Name | Type |
---|---|
jodit? |
IViewBased <IViewOptions > |
Returns
any
Inherited from
Defined in
get
get<T
>(chain
, obj?
): Nullable
<T
>
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
chain |
string |
obj? |
IDictionary <any , string > |
Returns
Nullable
<T
>
Inherited from
Defined in
className
className(): string
Returns
string
Inherited from
Defined in
getFullElName
getFullElName(elementName
): string
Parameters
Name | Type |
---|---|
elementName |
string |
Returns
string
Inherited from
Defined in
getFullElName(elementName
, mod
): string
Parameters
Name | Type |
---|---|
elementName |
string |
mod |
string |
Returns
string
Inherited from
Defined in
getFullElName(elementName
, mod?
, modValue?
): string
Parameters
Name | Type |
---|---|
elementName |
string |
mod? |
string |
modValue? |
string | boolean |
Returns
string
Inherited from
Defined in
setStatus
setStatus(componentStatus
): void
Parameters
Name | Type |
---|---|
componentStatus |
ComponentStatus |
Returns
void
Inherited from
Defined in
hookStatus
hookStatus(status
, callback
): void
Parameters
Name | Type |
---|---|
status |
ComponentStatus |
callback |
(component : this ) => void |
Returns
void
Inherited from
Defined in
bindDestruct
bindDestruct(component
): this
Parameters
Name | Type |
---|---|
component |
IComponent <IViewBased <IViewOptions >> |
Returns
this
Inherited from
Defined in
setParentView
setParentView(jodit
): this
Parameters
Name | Type |
---|---|
jodit |
IViewBased <IViewOptions > |
Returns
this
Inherited from
Defined in
bubble
bubble(callback
): this
Apply callback for all parents
Parameters
Name | Type |
---|---|
callback |
(parent : IUIElement ) => void |
Returns
this
Inherited from
Defined in
closest
closest<T
>(type
): Nullable
<T
>
Type parameters
Name | Type |
---|---|
T |
extends IUIElement |
Parameters
Name | Type |
---|---|
type |
Function |
Returns
Nullable
<T
>
Inherited from
Defined in
closest<T
>(type
): Nullable
<T
>
Type parameters
Name | Type |
---|---|
T |
extends IUIElement |
Parameters
Name | Type |
---|---|
type |
Function | T |
Returns
Nullable
<T
>
Inherited from
Defined in
update
update(): void
Returns
void
Inherited from
Defined in
updateParentElement
updateParentElement(target
): this
Parameters
Name | Type |
---|---|
target |
IUIElement |
Returns
this
Inherited from
Defined in
appendTo
appendTo(element
): this
Parameters
Name | Type |
---|---|
element |
HTMLElement |
Returns
this
Inherited from
Defined in
append
append(elm
, distElement?
): this
Parameters
Name | Type |
---|---|
elm |
IUIElement | IUIElement [] |
distElement? |
string |
Returns
this
Inherited from
Defined in
remove
remove(elm
): this
Parameters
Name | Type |
---|---|
elm |
IUIElement |
Returns
this
Inherited from
Defined in
clear
clear(): this
Returns
this
Inherited from
Defined in
getButtonsNames
getButtonsNames(): string
[]
Returns
string
[]
Defined in
setRemoveButtons
setRemoveButtons(removeButtons?
): this
Parameters
Name | Type |
---|---|
removeButtons? |
string [] |
Returns
this
Defined in
build
build(items
, target?
): IUIList
Parameters
Name | Type |
---|---|
items |
ButtonsOption |
target? |
Nullable <HTMLElement > |
Returns
Defined in
jodit/src/types/ui.d.ts:118