ModalEditComponent
Extends:
Static Member Summary
Static Public Members | ||
public static get |
builderInfo: {"title": string, "group": string, "icon": string, "weight": number, "schema": *} |
Static Method Summary
Static Public Methods | ||
public static |
schema(extend: ...*): * |
Member Summary
Public Members | ||
public get |
|
|
public |
innerHTML: * |
|
public get |
layoutProps: {"fixed": *, "fluid": *} |
Method Summary
Public Methods | ||
public |
attach(element: *): * |
|
public |
attachElement(element: *) |
|
public |
createModal(element: *): * |
|
public |
getElementRect(elt: *): * |
|
public |
getModalLayout(rect: *): {"left": *, "minHeight": *, "top": *, "width": *} |
|
public |
getModalSize(currentWidth: *, currentHeight: *): {"width": *, "height": *} |
|
public |
getModalStyle(args: *, overrides: {}): {...defaultStyles: Object, ...overrides: Object, ...layout: Object} |
|
public |
renderElement(content: string): * |
|
public |
|
|
public |
updateContentView(content: string): * |
|
public |
updateOnChange(flags: *, changed: boolean) |
Static Public Members
Static Public Methods
public static schema(extend: ...*): * source
Params:
Name | Type | Attribute | Description |
extend | ...* |
Return:
* |
Public Methods
public attachElement(element: *) source
Params:
Name | Type | Attribute | Description |
element | * |
public getModalLayout(rect: *): {"left": *, "minHeight": *, "top": *, "width": *} source
Params:
Name | Type | Attribute | Description |
rect | * |
Return:
{"left": *, "minHeight": *, "top": *, "width": *} |
public getModalSize(currentWidth: *, currentHeight: *): {"width": *, "height": *} source
Params:
Name | Type | Attribute | Description |
currentWidth | * | ||
currentHeight | * |
Return:
{"width": *, "height": *} |
public getModalStyle(args: *, overrides: {}): {...defaultStyles: Object, ...overrides: Object, ...layout: Object} source
Params:
Name | Type | Attribute | Description |
args | * | ||
overrides | {} |
|
public renderElement(content: string): * source
Params:
Name | Type | Attribute | Description |
content | string |
|
Return:
* |