Interface MDCGridListAdapter
Methods
deregisterResizeHandler
- deregisterResizeHandler(handler: EventListener): void
getNumberOfTiles
- getNumberOfTiles(): number
getOffsetWidthForTileAtIndex
- getOffsetWidthForTileAtIndex(index: number): number
-
Parameters
Returns 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
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