abstract FuncCallEditor
Base class for widgets or views that serve as editors for FuncCall. Extend it and use it in editor functions.
Editor functions should return an implementation of this class for the platform to handle validation correctly.
An editor function can be attached to another function using the editor tag: editor: Plugin:EditorFuncName.
Extends
Constructors
new FuncCallEditor()
new FuncCallEditor(
widgetRoot):FuncCallEditor
Parameters
| Parameter | Type |
|---|---|
widgetRoot | HTMLElement |
Returns
Inherited from
Constructs
Widget and initializes its root.
Source
Properties
| Property | Modifier | Type | Default value | Description | Inherited from |
|---|---|---|---|---|---|
_functions | protected | Func[] | [] | - | Widget._functions |
_properties | protected | Property[] | [] | - | Widget._properties |
_root | protected | HTMLElement | undefined | - | Widget._root |
dart | public | any | undefined | - | Widget.dart |
factory | public | null | Func | null | Constructor function. No parameters, returns [Widget]. | Widget.factory |
isDetached | public | boolean | false | - | Widget.isDetached |
props | public | any | undefined | - | Widget.props |
subs | public | Subscription[] | undefined | - | Widget.subs |
temp | public | any | undefined | Contains auxiliary information | Widget.temp |
Accessors
children
getchildren():Widget<any>[]
Parent widget up the DOM tree, or null.
Returns
Widget<any>[]
Source
isValid
getabstractisValid():boolean
Returns
boolean
Source
src/widgets/func-call-editor.ts:16
onInputChanged
getabstractonInputChanged():Observable<any>
Returns
Observable<any>
Source
src/widgets/func-call-editor.ts:17
parent
getparent():null|Widget<any>
Parent widget up the DOM tree, or null.
Returns
null | Widget<any>
Source
root
getroot():HTMLElement
Widget's visual root.
setroot(r):void
Parameters
| Parameter | Type |
|---|---|
r | HTMLElement |
Returns
HTMLElement
Source
type
gettype():string
Returns
string