Add header text
This procedure shows you how to add a custom header widget to your application. This widget will display text in the header.
About this task
The header text is defined in the header widget (MyHeaderBarWidget
), which must
be included in the main container widget (MyMainContainerWidget
).
Before you begin
You must have a customization directory gbc-project-dir/customization/customization-project-dir.
You must have completed the procedure to extend the MainContainerWidget and as a result you have the following files:
-
In customization-project-dir/js:
- MyMainContainerWidget.tpl.html
- MyMainContainerWidget.tpl.js
-
In customization-project-dir/sass:
- MyMainContainerWidget.scss
Steps