************************* foundation-layout-control ************************* Markup ====== .foundation-layout-control -------------------------- Indicates the control to manipulate :doc:`layout `. Selector Rule:: .foundation-layout-control [data-foundation-layout-control] -------------------------------- Indicates the config when the control is activated. The value is JSON with the following structure: .. code-block:: ts interface FoundationLayoutControlConfig { /** * The action to be performed. Valid values: * * - switch is calling FoundationLayout.switchLayout. */ action: string; /** * The selector to the layout element (element having [data-foundation-layout]). * If this property is missing, the closest layout element is used (control.closest("[data-foundation-layout]")). */ target: string; /** * The config object to be used by the layout. This is same value as [data-foundation-layout]. */ config: FoundationLayoutsConfig; } Selector Rule:: .foundation-layout-control[data-foundation-layout-control] Relationship Graph ================== .. graphviz:: digraph "foundation-layout" { rankdir=BT; "foundation-layout-control" -> "foundation-layout" [label="controls"]; }