Class that implements the BottomSheet pattern.

Export

Implements

Hierarchy-Diagram

UML class diagram of BottomSheet
Legend
icon for a class in the UML class diagram class
icon for an abstract class in the UML class diagram abstract class
icon for an interface in the UML class diagram interface
icon for a public property in the UML class diagram public property
icon for a protected property in the UML class diagram protected property
icon for a private property in the UML class diagram private property
icon for a public method in the UML class diagram public method
icon for a protected method in the UML class diagram protected method
icon for a private method in the UML class diagram private method
italic abstract property/method

Hierarchy

Implements

Properties

isProviderBased: boolean = false
_animateOnDragInstance: AnimateOnDrag
_bottomSheetContentElem: HTMLElement
_bottomSheetHeaderElem: HTMLElement
_eventOnContentScroll: Generic
_eventOnKeypress: Generic
_focusManagerInstance: FocusManager
_focusTrapInstance: FocusTrap
_gestureEventInstance: DragEvent
_hasGestureEvents: boolean
_isOpen: boolean = false
_parentSelf: HTMLElement
springAnimationConfigs: {
    addSpringAnimation: boolean;
    springAnimationProperties: {
        tension: number;
        friction: number;
        mass: number;
    };
} = ...

Type declaration

  • addSpringAnimation: boolean
  • springAnimationProperties: {
        tension: number;
        friction: number;
        mass: number;
    }
    • tension: number
    • friction: number
    • mass: number

Methods

  • Private

    Method to handle the start of a gesture

    Memberof

    BottomSheet

    Parameters

    • offsetX: number
    • offsetY: number
    • timeTaken: number

    Returns void

  • Private

    Method to handle the gesture move

    Memberof

    BottomSheet

    Parameters

    • x: number
    • y: number
    • offsetX: number
    • offsetY: number
    • evt: TouchEvent

    Returns void

Accessors

  • get _enableAccessibility(): boolean
  • Protected

    Getter that allows to obtain the accessibility is enabled.

    Memberof

    OSFramework.Patterns.AbstractPattern

    Returns boolean

Constructors