Wraps an "ion-content" component which in itself wraps a "main" element. Adds functionality regarding accessibility.

Only one enabled hylo-content component should be present per view.

Properties

disabled: boolean = false

Disables the components scroll functionality and removes the main element.

For the use in connection with a hylo-infinite-scroll component if no scroll functionality is desired. Basicly becomes just a wrapper for a hylo-infinite-scroll component for an enviroment not based on the Ionic scroll-content functionality setup.

mainLabel: string

The "aria-label" given to the "main" element.

mainTabIndex: number = -1

The "tabindex" given to the main element.

scrollEvents: boolean = false

Same as ion-content.

scrollX: boolean = false

Same as ion-content.

scrollY: boolean = true

Same as ion-content.

Methods

  • Same as ion-content.

    Returns Promise<HTMLElement>

  • Same as ion-content.

    Parameters

    • x: number
    • y: number
    • duration: number

    Returns Promise<void>

  • Same as ion-content.

    Parameters

    • Optional duration: number

    Returns Promise<void>

  • Same as ion-content.

    Parameters

    • x: number
    • y: number
    • Optional duration: number

    Returns Promise<void>

  • Same as ion-content.

    Parameters

    • Optional duration: number

    Returns Promise<void>

Generated using TypeDoc