Option schema
When we were going over the Cool Clocks in Chapter 3, UI Customization, one of the configurations we made involved setting a time zone for each instance of the Cool Clock. The variable responsible for determining the time zone in the Cool Clock widget is part of the Option Schema for that widget.
Widget options are incredibly useful for making widgets reusable. They allow each instance of a widget to have slightly different results, or display in different ways without having to create a new widget each time.
Let's add some options to our meeting widget! Open the War Room Meeting Details widget in the Widget editor. Using the hamburger menu, select Edit option schema.
Use the + at the top right of the modal window to add new option ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access