Build a page widget: Implement the page widget template
By definition, your widget must provide UI for both displaying and editing the value of a widget.
First, you create a new code file with
For the widget template, use the following code:
In this tutorial, only the Message label is included. Its ID corresponds to the ID, you have used in Build a page widget: Implement the page widget class properties.