Interface MDCRippleAdapter
Methods
addClass
- addClass(className: string): void
browserSupportsCssVars
- browserSupportsCssVars(): boolean
computeBoundingRect
- computeBoundingRect(): ClientRect
containsEventTarget
- containsEventTarget(target: EventTarget | null): boolean
-
Parameters
-
target: EventTarget | null
Returns boolean
deregisterDocumentInteractionHandler
-
Type parameters
Parameters
Returns void
deregisterInteractionHandler
-
Type parameters
Parameters
Returns void
isSurfaceActive
- isSurfaceActive(): boolean
isSurfaceDisabled
- isSurfaceDisabled(): boolean
registerDocumentInteractionHandler
-
Type parameters
Parameters
Returns void
registerInteractionHandler
-
Type parameters
Parameters
Returns void
removeClass
- removeClass(className: string): void
updateCssVariable
- updateCssVariable(varName: string, value: string | null): void
-
Parameters
-
varName: string
-
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