types.ui.editor.IServiceEditPage - ZeMA-gGmbH/NoPE-JS GitHub Wiki
Type which is used to render an custom html code. Must return a function, which will be called if the panel is destroyed.
Result, that must be provided by the Render Function.
| Name | Type |
|---|---|
T |
any |
-
↳
IServiceEditPage
Optional getDescriptionText: () => Promise<string>
(): Promise<string>
Function used to Descripe the configured Settings in a short sentence.
Promise<string>
Optional onDestroy: () => Promise<boolean>
(): Promise<boolean>
Callback, which is called on destroyed
Promise<boolean>
TRenderFunctionResult.onDestroy
Optional onHide: () => Promise<boolean>
(): Promise<boolean>
Callback, which is called, if the panel is hide
Promise<boolean>
TRenderFunctionResult.onHide
Optional onShow: () => Promise<void>
(): Promise<void>
Callback, which is calle, if the Element is rendered.
Promise<void>
TRenderFunctionResult.onShow
type: "node" | "edge"
Element showing the type of the edit panel.
getData(): Promise<T>
Function, which must return the current service-data.
Author
M.Karkowski
Memberof
IEditPage
Promise<T>
isValid(): Promise<boolean>
Function which must return true, if the Entered- Data is valid. Otherwise the Update will be refused
Author
M.Karkowski
Memberof
IEditPage
Promise<boolean>