UNPKG

@sap/generator-fiori

Version:

Create an SAPUI5 application using SAP Fiori elements or a freestyle approach

10 lines (8 loc) 322 B
import { ExampleColor } from '<%= libraryNamespaceURI %>/library'; import Example from '<%= libraryNamespaceURI %>/Example'; // Create a new instance of the Example control and // place it into the DOM element with the id "content" new Example({ text: 'Example', color: ExampleColor.Highlight, }).placeAt('content');