You're currently browsing the Ignition 8.0 docs. Click here to view the latest docs.


General

Component Palette Icon:




IULocgo


Breakpoint Container

Description

The Breakpoint Container is a simple container whose purpose is to swap sub-containers based on a ‘breakpoint’ in pixels. This allows for a very simple responsive design that removes one container and replaces it with another when the breakpoint (typically viewport width) is reached. With the Breakpoint container, you can define completely different content to render for each breakpoint. This is in contrast to a container such as the column container, where the content for each breakpoint is identical but the layout of it changes according to screen size. See also Breakpoint Containers

Breakpoint Containers are ideal to use in cases where you want completely different components available between a mobile user or a desktop user, since the components in each breakpoint are completely separate instances. Thus, if you're attempting to make a responsive view, and a Flex Container isn't quite giving you the result you're looking for, a Breakpoint Container may be a better fit. 

Properties

Most Properties have binding options. For more information on Bindings, see Types of Bindings in Perspective.
This section only documents the Props Category of properties. The other Categories are described on the Perspective Component Properties page.

NameDescriptionProperty Type
breakpointWidth (in pixels) breakpoint declarations for child layouts. When the container is sized below minWidth, child position rules will fall back to the next set breakpoint rules. value: numeric
styleUse Style to customize the visual style of the component. The Style menu contains all the tools for modifying text, background, margins, and borders. You can also specify a style class.object
Scripting Functions

The following feature is new in Ignition version 8.0.3
Click here to check out the other new features

  • Description

Returns an ArrayList, which contains references to all components inside of the container.

  • Parameters

none

  • Return

Array List - An ArrayList of components in the container. The resulting ArrayList can be iterated over via a for-loop.

  • No labels