Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MDCGridListAdapter

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

  • MDCGridListAdapter

Index

Methods

deregisterResizeHandler

  • deregisterResizeHandler(handler: EventListener): void

getNumberOfTiles

  • getNumberOfTiles(): number

getOffsetWidth

  • getOffsetWidth(): number

getOffsetWidthForTileAtIndex

  • getOffsetWidthForTileAtIndex(index: number): number

registerResizeHandler

  • registerResizeHandler(handler: EventListener): void

setStyleForTilesElement

  • setStyleForTilesElement(property: Exclude<keyof CSSStyleDeclaration, "length" | "parentRule">, value: string | null): void
  • Parameters

    • property: Exclude<keyof CSSStyleDeclaration, "length" | "parentRule">
    • value: string | null

    Returns void

Generated using TypeDoc