EditorCallFunction class

This will call a JS custom function.

Make sure that the function is defined before calling it.

On the web this does nothing because you cannot call a JS function from inside iframe.

Inheritance

Constructors

EditorCallFunction({required String method, String? payload})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
method → String
The summernote API method to call.
finalinherited
payload → String?
The data which should be passed to the editor.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(covariant EditorEvent other) → bool
The equality operator.
inherited