Show TOC

Developing UI5 Controls in JavaScriptLocate this document in the navigation structure

For developing controls for SAPUI5 in JavaScript, it is either possible to extend existing controls or to create new controls on the fly, so-called notepad controls.

For notepad controls, a library definition or running generation steps is not necessary.

When several controls should be developed for reuse in different applications, we recommend to create a control library instead of using these notepad controls. Control libraries have additional features like automatic support for theming and right-to-left languages, but the implementation of the controls is the same as for notepad controls.

Note

This functionality is not restricted to controls, but can also be used to create or extend arbitrary objects derived from sap.ui.base.Object.