Index

src/app/ngx-editor/common/utils/ngx-editor.utils.ts

canEnableToolbarOptions
canEnableToolbarOptions(value: undefined, toolbar: any)

enable or disable toolbar based on configuration

Parameters :
Name Type Optional Description
value no

toolbar item

toolbar any no

toolbar configuration object

canResize
canResize(resizer: undefined)

return vertical if the element is the resizer property is set to basic

Parameters :
Name Optional Description
resizer no

type of resizer, either basic or stack

getEditorConfiguration
getEditorConfiguration(value: any, ngxEditorConfig: any, input: any)

set editor configuration

Parameters :
Name Type Optional Description
value any no

configuration via [config] property

ngxEditorConfig any no

default editor configuration

input any no

direct configuration inputs via directives

restoreSelection
restoreSelection(range: )

restore selection when the editor is focussed in

Parameters :
Name Optional Description
range no

saved selection when the editor is focussed out

saveSelection
saveSelection()

save selection when the editor is focussed out

results matching ""

    No results matching ""