File

projects/components/src/widgets/common/rich-text-editor/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

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

Bindable: true

Type : string

name

Name of the rich-text-editor widget.

Type : string

placeholder

Placeholder for the rich-text-editor field.

Bindable: true

Type : string

readonly

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

Bindable: true

Type : boolean

Default value : false

show

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

Bindable: true

Type : boolean

Default value : true

showpreview

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

Type : boolean

Default value : false

tabindex

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

Type : number

Default value : 0

result-matching ""

    No results matching ""