IFileBrowser
- Type parameters
- Hierarchy
- Implemented by
- dataProvider
- state
- tree
- files
- isOpened
- 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
- open
- close
- status
- setMod
- afterSetMod
- getMod
- getElm
- getElms
- dlg
- confirm
- prompt
- alert
- destruct
- get
- className
- getFullElName
- setStatus
- hookStatus
- bindDestruct
- isLockedNotBy
- lock
- unlock
- toggleFullSize
- i18n
- getVersion
- getInstance
- registerButton
- unregisterButton
- getRegisteredButtonGroups
- setPanel
types.IFileBrowser
Type parameters
Name | Type |
---|---|
T |
extends IFileBrowserOptions = IFileBrowserOptions |
Hierarchy
-
↳
IFileBrowser
Implemented by
dataProvider
Readonly
dataProvider: IFileBrowserDataProvider
Defined in
src/types/file-browser.d.ts#288
state
Readonly
state: IFileBrowserState
& IObservable
Defined in
src/types/file-browser.d.ts#289
tree
Readonly
tree: IUIGroup
Defined in
src/types/file-browser.d.ts#291
files
Readonly
files: IUIGroup
Defined in
src/types/file-browser.d.ts#292
isOpened
isOpened: boolean
Defined in
src/types/file-browser.d.ts#294
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
IViewWithToolbar.ownerDocument
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
IViewWithToolbar.componentName
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
IViewWithToolbar.componentStatus
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
IViewWithToolbar.defaultTimeout
Defined in
components
Readonly
components: Set
<IComponent
<IViewBased
<IViewOptions
>>>
Inherited from
Defined in
message
Readonly
message: IMessages
Inherited from
Defined in
toolbar
toolbar: IToolbarCollection
Inherited from
Defined in
toolbarContainer
toolbarContainer: HTMLElement
Inherited from
IViewWithToolbar.toolbarContainer
Defined in
registeredButtons
registeredButtons: Set
<IPluginButton
>
Inherited from
IViewWithToolbar.registeredButtons
Defined in
open
open(callback?
, onlyImages?
): Promise
<void
>
Parameters
Name | Type |
---|---|
callback? |
(data : IFileBrowserCallBackData ) => void |
onlyImages? |
boolean |
Returns
Promise
<void
>
Defined in
src/types/file-browser.d.ts#296
close
close(): void
Returns
void
Defined in
src/types/file-browser.d.ts#301
status
status(message
, success?
): void
Parameters
Name | Type |
---|---|
message |
string | Error |
success? |
boolean |
Returns
void
Defined in
src/types/file-browser.d.ts#303
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
dlg
dlg(options?
): IDialog
Parameters
Name | Type |
---|---|
options? |
IDialogOptions |
Returns
Inherited from
Defined in
confirm
confirm(msg
, title
, callback?
): IDialog
Parameters
Name | Type |
---|---|
msg |
string |
title |
undefined | string | (yes : boolean ) => void |
callback? |
(yes : boolean ) => false | void |
Returns
Inherited from
Defined in
prompt
prompt(msg
, title
, callback
, placeholder?
, defaultValue?
): IDialog
Parameters
Name | Type |
---|---|
msg |
string |
title |
undefined | string | () => false | void |
callback |
(value : string ) => false | void |
placeholder? |
string |
defaultValue? |
string |
Returns
Inherited from
Defined in
alert
alert(msg
, title?
, callback?
, className?
): IDialog
Parameters
Name | Type |
---|---|
msg |
string | HTMLElement |
title? |
string | () => false | void |
callback? |
string | (dialog : IDialog ) => false | void |
className? |
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
IViewWithToolbar.getFullElName
Defined in
getFullElName(elementName
, mod
): string
Parameters
Name | Type |
---|---|
elementName |
string |
mod |
string |
Returns
string
Inherited from
IViewWithToolbar.getFullElName
Defined in
getFullElName(elementName
, mod?
, modValue?
): string
Parameters
Name | Type |
---|---|
elementName |
string |
mod? |
string |
modValue? |
string | boolean |
Returns
string
Inherited from
IViewWithToolbar.getFullElName
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
IViewWithToolbar.isLockedNotBy
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
IViewWithToolbar.toggleFullSize
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
Inherited from
IViewWithToolbar.registerButton
Defined in
unregisterButton
unregisterButton(btn
): this
Parameters
Name | Type |
---|---|
btn |
IPluginButton |
Returns
this
Inherited from
IViewWithToolbar.unregisterButton
Defined in
getRegisteredButtonGroups
getRegisteredButtonGroups(): IDictionary
<string
[]>
Returns
IDictionary
<string
[]>
Inherited from
IViewWithToolbar.getRegisteredButtonGroups
Defined in
setPanel
setPanel(element
): void
Parameters
Name | Type |
---|---|
element |
string | HTMLElement |
Returns
void
Inherited from
Defined in
jodit/src/types/view.d.ts:164