loio |
---|
91f184586f4d1014b6dd926db0e91070 |
view on: demo kit nightly build | demo kit latest release
Examples how to create and extend controls in OpenUI5.
To create a new control type, you extend the sap.ui.core.Control
class, and define the control API and the implementation from scratch.
- Creating a Simple Control
Example of a simple control with aname
property - Creating a Simple Square Control
Example of a simpleSquare
control that is rendered as a red square with text inside that pops up an alert when clicked - Creating a Simple Container Control
Example of a container control with arbitrary child controls that are rendered in a row and a colored box around each child - Extending Buttons with Additional Events
Example of a button control that is extended with additional events. - Extending Input Rendering
Example of anInput
control with changed rendering.