Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MDCTextFieldRootAdapter

Hierarchy

Index

Methods

addClass

  • addClass(className: string): void

deregisterTextFieldInteractionHandler

deregisterValidationAttributeChangeHandler

  • deregisterValidationAttributeChangeHandler(observer: MutationObserver): void
  • Disconnects a validation attribute observer on the input element.

    Parameters

    • observer: MutationObserver

    Returns void

hasClass

  • hasClass(className: string): boolean
  • Parameters

    • className: string

    Returns boolean

    true if the root element contains the given class name.

registerTextFieldInteractionHandler

registerValidationAttributeChangeHandler

  • registerValidationAttributeChangeHandler(handler: function): MutationObserver
  • Registers a validation attribute change listener on the input element. Handler accepts list of attribute names.

    Parameters

    • handler: function
        • (attributeNames: string[]): void
        • Parameters

          • attributeNames: string[]

          Returns void

    Returns MutationObserver

removeClass

  • removeClass(className: string): void

Generated using TypeDoc