registerLoadPageAction method
void
registerLoadPageAction(
- String name,
- PageLoadFunction<
LoadPageActionEvent, PageLoadedState> executor, { - bool abstract = false,
- String? baseType = EditorAction.listAction,
- Map<
String, EditorPropertyType> ? properties, - Map<
String, EditorActionType> ? actions,
Implementation
@nonVirtual
void registerLoadPageAction(
String name,
PageLoadFunction<LoadPageActionEvent, PageLoadedState> executor, {
bool abstract = false,
String? baseType = EditorAction.listAction,
Map<String, EditorPropertyType>? properties,
Map<String, EditorActionType>? actions,
}) {
_pageLoadExecutors[name] = executor;
_schema[name] = EditorAction(
abstract: abstract,
baseType: baseType,
properties: properties,
actions: actions,
);
}