Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MDCTopAppBarAdapter

Defines the shape of the adapter expected by the foundation. Implement this adapter for your framework of choice to delegate updates to the component in your framework of choice. See architecture documentation for more details. https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md

Hierarchy

  • MDCTopAppBarAdapter

Index

Methods

addClass

  • addClass(className: string): void

deregisterNavigationIconInteractionHandler

deregisterResizeHandler

deregisterScrollHandler

getTopAppBarHeight

  • getTopAppBarHeight(): number

getTotalActionItems

  • getTotalActionItems(): number

getViewportScrollY

  • getViewportScrollY(): number

hasClass

  • hasClass(className: string): boolean
  • Returns true if the root Element contains the given class.

    Parameters

    • className: string

    Returns boolean

notifyNavigationIconClicked

  • notifyNavigationIconClicked(): void

registerNavigationIconInteractionHandler

registerResizeHandler

registerScrollHandler

removeClass

  • removeClass(className: string): void

setStyle

  • setStyle(property: string, value: string): void
  • Sets the specified inline style property on the root Element to the given value.

    Parameters

    • property: string
    • value: string

    Returns void

Generated using TypeDoc