Skip to content

UI Widgets

UI Widgets is the name of the page where you can see existing widgets and create a new one.

UI Widgets Page

Click the New widget button to open the Widget dialog to add a new Widget. Enter values for the following fields:

  • Widget name - Name of the widget
  • Widget ID - Unique widget identifier
  • Widget type - Select type of the widget from dropdown list of available widget types:
    • System - The code is written
    • Framework widget - standard widget type
    • CSS Template - the appearance of the component is defined
    • Mixin - the base class we can use to join it to another widget
  • Anybuild application - Select an Anybuild application
  • Anybuild application module - Select an Anybuild application module
  • Namespace - Set of symbols (names) that are used to identify and refer to objects of various kinds
  • Widget description - Description of the widget
  • UI element type - UI element type, i.e. Component, Field, Page.

Widget Dialog

By clicking save, the widget designer opens. Page Designer has three panes: hierarchy, preview and settings.

Page Designer

We have a button Add Component - Add New Component Menu. We can add there:

Button, Text Field, Div, Paragraph, Span, Iron Icon, Lookup Field…

On the button Build Button we are allowed to do: Build, Clone or Delete widget.

For each added component, we have the option to add new subcomponents on the Add Component button, and to delete the component on the Build Button button.

When we select a widget, component, subcomponent, on the right side of the screen, two tabs are loaded, where we additionally define it - Design and (Widget) Settings(Settings — for the component, subcomponent…).

Design is the place to customize the appearance of the widget.

The Design tab contains two subtabs — Styles and Import Fonts.

Styles - way to define CSS styles

Import Fonts - way to imports custom fonts to your widget

Settings is the place for additional adjustment.

Widget Settings contains sections:

  • General
  • Properties
  • Observers

Understanding widget properties and their effects.

Working with widget observers for dynamic behavior.

Creating and configuring calendar widgets.

Data entry widgets and their configuration.

Example implementation of a web page widget.