/** * Base class for role objects that use the input HTML tag. * This contains only setters/getters for fields that are common to all input * tags regardless of the type attribute. */ export default class InputTagData extends AccessibilityObject { /** * @inheritdoc */ addChild(): void; /** * @inheritdoc */ addChildAt(): void; /** * Sets whether the element should get focus on page load * @access public * @param {boolean} enable - true if autofocus should be enabled, false otherwise */ set autoFocus(arg: boolean); /** * Retrieves whether autofocus is enabled * @access public * @returns {boolean} true if autofocus is enabled, false otherwise */ get autoFocus(): boolean; /** * Sets the name of the text input field * @access public * @param {String} str - name of the field */ set name(arg: string); /** * Retrieves the name of the text input field * @access public * @returns {String} name of the field */ get name(): string; } import AccessibilityObject from "./AccessibilityObject";