IViewBased
- 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
- setMod
- afterSetMod
- getMod
- getElm
- getElms
- destruct
- get
- className
- getFullElName
- setStatus
- hookStatus
- bindDestruct
- isLockedNotBy
- lock
- unlock
- toggleFullSize
- i18n
- getVersion
- getInstance
types.IViewBased
Type parameters
Name | Type |
---|---|
T |
IViewOptions |
Hierarchy
-
↳
IViewBased
↳↳
IDialog
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
Defined in
parent
Readonly
parent: Nullable
<IViewBased
<IViewOptions
>>
Defined in
id
Readonly
id: string
ID attribute for a source element, id add {id}_editor it's editor's id
Defined in
basePath
Readonly
basePath: string
Defined in
isLocked
Readonly
isLocked: boolean
Defined in
isFullSize
Readonly
isFullSize: boolean
Defined in
buffer
Readonly
buffer: IStorage
<StorageValueType
>
Defined in
storage
Readonly
storage: IStorage
<StorageValueType
>
Defined in
progressbar
Readonly
progressbar: IProgressBar
Defined in
events
Readonly
events: IEventEmitter
Defined in
e
Readonly
e: IEventEmitter
Defined in
create
Readonly
create: ICreate
Defined in
c
Readonly
c: ICreate
Defined in
OPTIONS
Readonly
OPTIONS: T
Defined in
options
Readonly
options: T
Defined in
o
Readonly
o: T
Defined in
defaultTimeout
Readonly
defaultTimeout: number
Defined in
components
Readonly
components: Set
<IComponent
<IViewBased
<IViewOptions
>>>
Defined in
message
Readonly
message: IMessages
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
Defined in
lock
lock(name?
): boolean
Parameters
Name | Type |
---|---|
name? |
string |
Returns
boolean
Defined in
unlock
unlock(): boolean
Returns
boolean
Defined in
toggleFullSize
toggleFullSize(isFullSize?
): void
Parameters
Name | Type |
---|---|
isFullSize? |
boolean |
Returns
void
Defined in
i18n
i18n(text
, ...params
): string
Parameters
Name | Type |
---|---|
text |
string |
...params |
(string | number )[] |
Returns
string
Defined in
getVersion
getVersion(): string
Returns
string
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
Defined in
jodit/src/types/view.d.ts:149
getInstance<T
>(moduleName
, options?
): T
Type parameters
Name | Type |
---|---|
T |
extends IComponent <IViewBased <IViewOptions >> |
Parameters
Name | Type |
---|---|
moduleName |
string |
options? |
object |
Returns
T
Defined in
jodit/src/types/view.d.ts:150