Variable zFlexConst

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
    • Parameters

      Returns void

  • beforeSize:function
    • Parameters

      • this: Widget<HTMLElement>
      • ctl: unknown
      • opts: unknown
      • cleanup: boolean

      Returns void

  • beforeSizeClearCachedSize:function
    • Parameters

      • this: Widget<HTMLElement>
      • ctl: unknown
      • opts: unknown
      • cleanup: boolean

      Returns void

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

      Parameters

      Returns void

      Since

      9.5.1

  • clearCSSFlex:function
    • Parameters

      • wgt: Widget<HTMLElement>
      • o: FlexOrient
      • Optional clearAllSiblings: boolean

      Returns void

  • fixFlex:function
    • Parameters

      Returns void

  • fixMinFlex:function
    • Parameters

      • wgt: Widget<HTMLElement>
      • wgtn: HTMLElement
      • o: FlexOrient

      Returns number

  • getFlexInfo:function
    • Parameters

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

      • childrenWidgets: Widget<HTMLElement>[]
      • flexContainerChildren: HTMLElement[]
      • isFlexRow: boolean
  • onFitSize:function
    • Parameters

      Returns void

  • onSize:function
    • Parameters

      Returns void