Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MDCTextFieldAdapter

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

Index

Methods

activateLineRipple

  • activateLineRipple(): void

addClass

  • addClass(className: string): void

closeOutline

  • closeOutline(): void

deactivateLineRipple

  • deactivateLineRipple(): void

deregisterInputInteractionHandler

deregisterTextFieldInteractionHandler

deregisterValidationAttributeChangeHandler

  • deregisterValidationAttributeChangeHandler(observer: MutationObserver): void

floatLabel

  • floatLabel(shouldFloat: boolean): void

getLabelWidth

  • getLabelWidth(): number

getNativeInput

hasClass

  • hasClass(className: string): boolean

hasLabel

  • hasLabel(): boolean

hasOutline

  • hasOutline(): boolean

isFocused

  • isFocused(): boolean

notchOutline

  • notchOutline(labelWidth: number): void

registerInputInteractionHandler

registerTextFieldInteractionHandler

registerValidationAttributeChangeHandler

  • registerValidationAttributeChangeHandler(handler: function): MutationObserver

removeClass

  • removeClass(className: string): void

setLineRippleTransformOrigin

  • setLineRippleTransformOrigin(normalizedX: number): void

shakeLabel

  • shakeLabel(shouldShake: boolean): void

Generated using TypeDoc