Enode — API Reference
    Preparing search index...

    Function drawerPresentationClasses

    • Class strings for the backdrop and the sliding panel of a DrawerStack. For "drawer" they are exactly the drawer's classes; widthClassName only applies there.

      Parameters

      • presentation: DrawerPresentation
      • positionClass: string

        fixed (viewport) or absolute (container mode)

      • widthClassName: string

        the drawer's width classes

      • open: boolean

        the panel is shown (after the mount reflow)

      • dismissable: boolean

        a backdrop tap closes

      Returns { aside: string; backdrop: string | null }

      backdrop is null for "screen" (no backdrop element at all)