Skip to main content
Version: v10.15

Container


Container widget is an empty box for flow content, a collection of more semantically marked-up content that may need to be grouped together with the class, lang and title attributes. It represents its children. The users can either place the content or include the partial pages.

Containers are semantically correct for laying out content. Its most common use will likely be for stylistic purposes — i.e., wrapping some semantically marked-up content in a CSS-styled container.

Properties

You can also use the Conditional Class property from the Style tab to set the class based upon a condition. For more information, see the How-to doc.

PropertyDescription
NameThe name is a unique identifier for the container widget.
Layout
WidthThe width of your widget can be specified in px or % (i.e 50px, 75%).
HeightThe width of your widget can be specified in px or % (i.e 50px, 75%).
Content
ContentThis bindable property, defines the content to be displayed within the container: - Inline Content - HTML content, - Page Content - in the form of Partial Pages, choose from the list provided
Behavior
ShowShowing determines whether or not a component is visible. It is a bindable property.
Load on Demand (visible only when show property is bound to a variable)When this property is set and show property is bound, the initialization of the widget will be deferred till the widget becomes visible. This behavior improves the load time. Use this feature with caution, as it has a downside (as we will not be able to interact with the widget through script until the widget is initialized). When show property is not bound the widget will be initialized immediately.
AnimationThis property controls the animation of an element. The animation is based on the CSS classes and works only in the run mode.
Format
Horizontal AlignSet text alignment horizontally.

Events

EventDescription
Mouse Events
On clickThis event handler is called whenever the click event is triggered on a widget.
On double clickThis event handler is called whenever the double click event is triggered on a widget.
On mouse overThis event fires when the mouse hovers over this widget.
On mouse outThis event fires when the mouse moves away from this widget.
On mouse enterThis event handler is called whenever the mouse enters the widget.
On mouse leaveThis event handler is called whenever the mouse leaves the widget.
Touch Events
On tapThis event handler is called whenever the tap event is triggered on a widget.
On double tapThis event handler is called whenever the double tap event is triggered on a widget.
On swipe upThis event handler is called whenever the swipeup event is triggered.
On swipe downThis event handler is called whenever swipe down event is triggered.
On swipe leftThis event handler is called whenever a swipeleft event is triggered.
On swipe rightThis event handler is called whenever a swiperight event is triggered.
On pinch inThis event handler is called whenever pinch event is triggered.
On pinch outThis event handler is called whenever pinch out event is triggered.
Keyboard Events
On enter key pressWhen the user hits ENTER/Return while the focus is in this editor, execute the specified event handler.