@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
20 lines (19 loc) • 868 B
TypeScript
import { NestedCSSProperties } from "typestyle/lib/types";
import { ColumnedSectionItemSettings, LayoutItem, SectionItem } from "../../../../models/Layout";
export declare class LayoutSectionContainerHelper {
static getFirstBlockMediaQueryInfo(item: LayoutItem): Array<NestedCSSProperties>;
private static isAllBlocksHidden;
private static hideBlockInBreakpoint;
static getMediaQueryAllBlocksInSection(items: Array<LayoutItem>): Array<NestedCSSProperties>;
/**
* Check if all blocks in the column is hidden
* @param column
* @returns
*/
static isAllBlockHidden(column: SectionItem<ColumnedSectionItemSettings>): boolean;
/**
* Check if all blocks in the column is hidden on print settings
* @param column
*/
static IsAllBlockHiddenOnPrint(column: SectionItem<ColumnedSectionItemSettings>): boolean;
}