EditorCallbacks enum
The list of callbacks which can be used in the editor.
- Inheritance
- Implemented types
- Available extensions
Values
- onInit → const EditorCallbacks
-
const EditorCallbacks(callback: "onInit") - onChange → const EditorCallbacks
-
const EditorCallbacks(callback: "onChange", args: ["contents", "\$editable"], payload: "contents") - onChangeCodeview → const EditorCallbacks
-
const EditorCallbacks(callback: "onChangeCodeview", args: ["contents", "\$editable"], payload: "contents") - onFocus → const EditorCallbacks
-
const EditorCallbacks(callback: "onFocus") - onBlur → const EditorCallbacks
-
const EditorCallbacks(callback: "onBlur") - onImageUpload → const EditorCallbacks
-
const EditorCallbacks(callback: "onImageUpload", args: ["files"]) - onImageUploadError → const EditorCallbacks
-
const EditorCallbacks(callback: "onImageUploadError", args: ["file", "error"]) - onKeyup → const EditorCallbacks
-
const EditorCallbacks(callback: "onKeyup", args: ["e"], payload: "e.keyCode.toString()") - onKeydown → const EditorCallbacks
-
const EditorCallbacks(callback: "onKeydown", args: ["e"], payload: "e.keyCode.toString()") - onMouseUp → const EditorCallbacks
-
const EditorCallbacks(callback: "onMouseUp") - onMouseDown → const EditorCallbacks
-
const EditorCallbacks(callback: "onMouseDown") - onUrlPressed → const EditorCallbacks
-
const EditorCallbacks(callback: "onUrlPressed") - onSelectionChanged → const EditorCallbacks
-
const EditorCallbacks(callback: "onSelectionChanged")
Properties
-
args
→ List<
String> -
List of arguments received by the callback.
final
- callback → String
-
The name of the event.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - payload → String?
-
Payload of the called function.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compareTo(
EditorCallbacks other) → int -
Override the compareTo method.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
find(
String name) → EditorCallbacks? -
fromMessage(
EditorMessage message) → EditorCallbacks?
Constants
-
values
→ const List<
EditorCallbacks> - A constant List of the values in this enum, in order of their declaration.