layoutBreakpoint

Typefunction
Dictionarylibrary.responsivelayout
LibraryResponsiveLayout
Syntax
layoutBreakpoint([<pWidth>])
Associationscom.livecode.library.responsivelayout
Summary

Gets the properties of the current layout breakpoint.

Parameters
NameTypeDescription
pWidth

An integer representing the width of the card for which you want to obtain the breakpoint. If this parameter is not specified, the width of the current card is taken.

Description

Use the layoutBreakpoint function to get the current layout breakpoint information.

This function returns an array with the following structures : - columns: number of columns in which the design is divided according to Material Design page. - Interruption point: Name of the design breakpoint. - min: Minimum width that the card must have so that this break point of the design is fulfilled. - orientation: Design orientation, for the desktop environment the value is none. - short name: The short name of the design breakpoint. - id: Identification of the design breakpoint. - gutter: Width of the column gutter - window: Width of the current card. - max: Maximum width that the card must have so that this break point of the design is fulfilled. - type: Type of environment.