IViewWithToolbar
- Type parameters
- Hierarchy
- Implemented by
- mods
- container
- async
- ownerDocument
- od
- ownerWindow
- ow
- componentName
- uid
- isDestructed
- isInDestruct
- isReady
- componentStatus
- isView
- parent
- id
- basePath
- isLocked
- isFullSize
- buffer
- storage
- progressbar
- events
- e
- create
- c
- OPTIONS
- options
- o
- defaultTimeout
- components
- message
- toolbar
- toolbarContainer
- registeredButtons
- setMod
- afterSetMod
- getMod
- getElm
- getElms
- destruct
- get
- className
- getFullElName
- setStatus
- hookStatus
- bindDestruct
- isLockedNotBy
- lock
- unlock
- toggleFullSize
- i18n
- getVersion
- getInstance
- registerButton
- unregisterButton
- getRegisteredButtonGroups
- setPanel
types.IViewWithToolbar
Type parameters
Name | Type |
---|---|
T |
IViewOptions |
Hierarchy
-
IViewBased
<T
>↳
IViewWithToolbar
↳↳
IFileBrowser
↳↳
IJodit
Implemented by
mods
mods: IDictionary
<ModType
>
Inherited from
Defined in
container
container: HTMLElement
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
isView
Readonly
isView: true
Inherited from
Defined in
parent
Readonly
parent: Nullable
<IViewBased
<IViewOptions
>>
Inherited from
Defined in
id
Readonly
id: string
ID attribute for a source element, id add {id}_editor it's editor's id
Inherited from
Defined in
basePath
Readonly
basePath: string
Inherited from
Defined in
isLocked
Readonly
isLocked: boolean
Inherited from
Defined in
isFullSize
Readonly
isFullSize: boolean
Inherited from
Defined in
buffer
Readonly
buffer: IStorage
<StorageValueType
>
Inherited from
Defined in
storage
Readonly
storage: IStorage
<StorageValueType
>
Inherited from
Defined in
progressbar
Readonly
progressbar: IProgressBar
Inherited from
Defined in
events
Readonly
events: IEventEmitter
Inherited from
Defined in
e
Readonly
e: IEventEmitter
Inherited from
Defined in
create
Readonly
create: ICreate
Inherited from
Defined in
c
Readonly
c: ICreate
Inherited from
Defined in
OPTIONS
Readonly
OPTIONS: T
Inherited from
Defined in
options
Readonly
options: T
Inherited from
Defined in
o
Readonly
o: T
Inherited from
Defined in
defaultTimeout
Readonly
defaultTimeout: number
Inherited from
Defined in
components
Readonly
components: Set
<IComponent
<IViewBased
<IViewOptions
>>>
Inherited from
Defined in
message
Readonly
message: IMessages
Inherited from
Defined in
toolbar
toolbar: IToolbarCollection
Defined in
toolbarContainer
toolbarContainer: HTMLElement
Defined in
registeredButtons
registeredButtons: Set
<IPluginButton
>
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
isLockedNotBy
isLockedNotBy(name
): boolean
Parameters
Name | Type |
---|---|
name |
string |
Returns
boolean
Inherited from
Defined in
lock
lock(name?
): boolean
Parameters
Name | Type |
---|---|
name? |
string |
Returns
boolean
Inherited from
Defined in
unlock
unlock(): boolean
Returns
boolean
Inherited from
Defined in
toggleFullSize
toggleFullSize(isFullSize?
): void
Parameters
Name | Type |
---|---|
isFullSize? |
boolean |
Returns
void
Inherited from
Defined in
i18n
i18n(text
, ...params
): string
Parameters
Name | Type |
---|---|
text |
string |
...params |
(string | number )[] |
Returns
string
Inherited from
Defined in
getVersion
getVersion(): string
Returns
string
Inherited from
Defined in
getInstance
getInstance<T
>(module
, options?
): T
Type parameters
Name | Type |
---|---|
T |
extends IComponent <IViewBased <IViewOptions >> |
Parameters
Name | Type |
---|---|
module |
Function |
options? |
object |
Returns
T
Inherited from
Defined in
getInstance<T
>(moduleName
, options?
): T
Type parameters
Name | Type |
---|---|
T |
extends IComponent <IViewBased <IViewOptions >> |
Parameters
Name | Type |
---|---|
moduleName |
string |
options? |
object |
Returns
T
Inherited from
Defined in
registerButton
registerButton(btn
): this
Parameters
Name | Type |
---|---|
btn |
IPluginButton |
Returns
this
Defined in
unregisterButton
unregisterButton(btn
): this
Parameters
Name | Type |
---|---|
btn |
IPluginButton |
Returns
this
Defined in
getRegisteredButtonGroups
getRegisteredButtonGroups(): IDictionary
<string
[]>
Returns
IDictionary
<string
[]>
Defined in
setPanel
setPanel(element
): void
Parameters
Name | Type |
---|---|
element |
string | HTMLElement |
Returns
void
Defined in
jodit/src/types/view.d.ts:165