# Variable zFlex`Const`

zFlex: {
applyCSSFlex(this): void;
beforeSize(this, ctl, opts, cleanup): void;
beforeSizeClearCachedSize(this, ctl, opts, cleanup): void;
beforeSizeForRead(this): void;
clearCSSFlex(wgt, o, clearAllSiblings?): void;
fixFlex(wgt): void;
fixMinFlex(wgt, wgtn, o): number;
getFlexInfo(wgt): {
childrenWidgets: Widget<HTMLElement>[];
flexContainerChildren: HTMLElement[];
isFlexRow: boolean;
};
onFitSize(this): void;
onSize(this): void;
} = ...

#### Type declaration

- ##### applyCSSFlex:function

  - applyCSSFlex(this): void

  - #### Parameters

    - ##### this: Widget<HTMLElement>

    #### Returns void

- ##### beforeSize:function

  - beforeSize(this, ctl, opts, cleanup): void

  - #### Parameters

    - ##### this: Widget<HTMLElement>

    - ##### ctl: unknown

    - ##### opts: unknown

    - ##### cleanup: boolean

    #### Returns void

- ##### beforeSizeClearCachedSize:function

  - beforeSizeClearCachedSize(this, ctl, opts, cleanup): void

  - #### Parameters

    - ##### this: Widget<HTMLElement>

    - ##### ctl: unknown

    - ##### opts: unknown

    - ##### cleanup: boolean

    #### Returns void

- ##### beforeSizeForRead:function

  - beforeSizeForRead(this): void

  - beforeSize for read was created to prevent tremendous forced reflows as a result of doing both read and write in beforeSize.

    #### Parameters

    - ##### this: Widget<HTMLElement>

    #### Returns void

    #### Since

    9.5.1

- ##### clearCSSFlex:function

  - clearCSSFlex(wgt, o, clearAllSiblings?): void

  - #### Parameters

    - ##### wgt: Widget<HTMLElement>

    - ##### o: FlexOrient

    - ##### `Optional` clearAllSiblings: boolean

    #### Returns void

- ##### fixFlex:function

  - fixFlex(wgt): void

  - #### Parameters

    - ##### wgt: Widget<HTMLElement>

    #### Returns void

- ##### fixMinFlex:function

  - fixMinFlex(wgt, wgtn, o): number

  - #### Parameters

    - ##### wgt: Widget<HTMLElement>

    - ##### wgtn: HTMLElement

    - ##### o: FlexOrient

    #### Returns number

- ##### getFlexInfo:function

  - getFlexInfo(wgt): {
    childrenWidgets: Widget<HTMLElement>[];
    flexContainerChildren: HTMLElement[];
    isFlexRow: boolean;
    }

  - #### Parameters

    - ##### wgt: Widget<HTMLElement>

    #### Returns {
    childrenWidgets: Widget<HTMLElement>[];
    flexContainerChildren: HTMLElement[];
    isFlexRow: boolean;
    }

    - ##### childrenWidgets: Widget<HTMLElement>[]

    - ##### flexContainerChildren: HTMLElement[]

    - ##### isFlexRow: boolean

- ##### onFitSize:function

  - onFitSize(this): void

  - #### Parameters

    - ##### this: Widget<HTMLElement>

    #### Returns void

- ##### onSize:function

  - onSize(this): void

  - #### Parameters

    - ##### this: Widget<HTMLElement>

    #### Returns void