File

projects/components/widgets/basic/rich-text-editor/src/rich-text-editor.component.doc.ts

Description

The wmRichtexteditor component defines the rich-text-editor widget.

Index

Methods
Inputs

Methods

onChange
onChange($event: MouseEvent, widget: any, newVal: string, oldVal: string)

Callback function which will be triggered when the widget value changes.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the rich-text-editor widget

newVal string No

New value of the widget

oldVal string No

Old value of the widget

Returns : void

Inputs

datavalue
Type : string

This property defines the value of the rich-text-editor widget.

Bindable: true

name
Type : string

Name of the rich-text-editor widget.

placeholder
Type : string

Placeholder for the rich-text-editor field.

Bindable: true

readonly
Type : boolean
Default value : false

This property will be used to make the rich-text-editor widget non-editable on the web page.

Bindable: true

show
Type : boolean
Default value : true

This property will be used to show/hide the rich-text-editor widget on the web page.

Bindable: true

showpreview
Type : boolean
Default value : false

This property will be used to show or hide the preview part of the rich-text-editor widget.

tabindex
Type : number
Default value : 0

This property specifies the tab order of the rich-text-editor Widget.

result-matching ""

    No results matching ""