Skip to contents

Flex

Flex.

flexPage()
Create a flexbox based page
flexPanel()
Create a flexbox based panel

Grid

Grid.

gridPage()
Create a page a with CSS grid layout
gridPanel()
Create a panel with a CSS grid layout

Templates

Templates.

applyTemplate()
Merges a set of attributes with a given template. To avoid redundanct attributes being added to the final list, a list of default values (based of the specific panel creation callback formals) is used to validate the need of the argument value in the final list.
listTemplates()
Lists all available grid and flex templates. If type is given, returns only templates for the given grid type. Templates are collections of arguments that can be grouped and stored for later usage via the "template" argument of panel and page functions.
makeTemplate()
Returns a imola template as an object for future use. Depending on the given type, the template will then be available to be passed as an argument to a panel or page function of that specific type. Templates are collections of arguments that can be grouped and stored for later usage via the "template" argument of panel and page functions.
registerTemplate()
Registers a new css template for future use. Depending on the given type, the template will then be available to be passed as an argument to a panel or page function of that specific type. Templates are collections of arguments that can be grouped and stored for later usage via the "template" argument of panel and page functions.
unregisterTemplate()
Deletes an existing css template from the available list of templates for the given grid type. Templates are collections of arguments that can be grouped and stored for later usage via the "template" argument of panel and page functions.

Breakpoints

Breakpoints.

activeBreakpoints()
Current active media breakpoints. By default the default_system setting values are used, but the list can be customized by using the registerBreakpoint() and unregisterBreakpoint() functions.
registerBreakpoint()
Adds a new breakpoint entry to the current active media breakpoints.
setBreakpointSystem()
Sets the current active media breakpoints. By default the default_system setting values are used, but the list can be customized by using the registerBreakpoint() and unregisterBreakpoint() functions.
unregisterBreakpoint()
Allows removing an entry from the current activeBreakpoints.