Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InputContainer

Hierarchy

  • InputContainer

Index

Properties

Static ELEMENTS

ELEMENTS: string[] = ['div.lto-camera','div.lto-code-reader','div.lto-drop-area','div.lto-map','div.lto-reel','div.lto-trigger','input.lto-email','input.lto-phone','input.lto-slider','input.lto-spinner','input.lto-text','textarea.lto-textarea',]

Static Private ELEMENTS_AS_STRING

ELEMENTS_AS_STRING: string = InputContainer.ELEMENTS.join(",")

Methods

Static addValuesToAttributes

  • addValuesToAttributes(element: HTMLElement, attributes: Attr): SubmitState

Static Private createBasket

  • createBasket(basketName: string, attributes: Attr, name: string, value: string): void

Static getAll

  • getAll(container: HTMLFormElement, submit: HTMLButtonElement): Promise<Attr>

Static Private getNormalOrDataAttribute

  • getNormalOrDataAttribute(element: HTMLElement, name: string): string | null

Static Private getRequiredAttribute

  • getRequiredAttribute(element: HTMLElement): boolean

Static setRequiredAttribute

  • setRequiredAttribute(element: HTMLElement, required: string | boolean | null | undefined): void

Generated using TypeDoc