RuntimeWebComponent
Last updated
Was this helpful?
Last updated
Was this helpful?
The IRuntimeWebComponent
interface enables scripting for runtime web components in Servoy, supporting CSS positioning for NGClient in absolute position forms, offering an intuitive alternative to anchoring.
CSS position is a replacement for anchoring system making it more intuitive to place a component.
Gets the specified client property for the element based on a key.
Get the design-time properties of an element.
Get a design-time property of an element.
Returns the type of a specified element.
Returns the name of the form.
Returns the name of an element.
void
Sets the value for the specified element client property key.
CSS position is a replacement for anchoring system making it more intuitive to place a component. CSS position should be set on form, an absolute position form can either work with anchoring or with css position.
This property is only available when the form in is css positioning mode, in responsive mode components don't have this property.
This is only working in NGClient.
Sample
Gets the specified client property for the element based on a key.
NOTE: Depending on the operating system, a user interface property name may be available.
Parameters
Sample
Get the design-time properties of an element.
Sample
Get a design-time property of an element.
Parameters
Sample
Returns the type of a specified element.
Sample
Returns the name of the form. (may be empty string as well)
Sample
Returns the name of an element. (may be null as well)
Sample
Sets the value for the specified element client property key.
NOTE: Depending on the operating system, a user interface property name may be available.
Parameters
Returns: void
Sample
Type
key user interface key (depends on operating system)
Returns: The value of the property for specified key.
Returns: The value of the specified design-time property.
key the name of the property
Returns: A map of all design-time properties for the element.
Returns: The display type of the element as String.
Returns: The name of the form.
Returns: The name of the element.
key user interface key (depends on operating system)
value a predefined value for the key