Widgets are some kind of shorcouts to create elements with predefined events. This allows you to create common interactions like showing a button to launch a URL in fewer clicks than creating individual labels and events.
At this moment, Onirix supports the following widgets:
- External URL: A button that opens a web browser with given URL
- Youtube: A button than opens a browser with given youtube video
- Phone: A button that opens the default phone app with given number
- Email: A button that opens the default email client and creates an email draft to given recipient address.
All widgets can be replaced with regular elements and events.