export default class FormData extends SectionData { /** * Sets the character encoding for form submission * @access public * @param {String} str - character encoding to use */ set charSet(arg: string); /** * Retrieves the character encoding for form submission * @access public * @returns {String} character encoding used */ get charSet(): string; /** * Set the URL to send form data to on submission * @access public * @param {String} str - form submission URL */ set action(arg: string); /** * Retrieves the URL to send form data to on submission * @access public * @returns {String} form submission URL */ get action(): string; /** * Sets whether the form should have autocomplete enabled or not * @access public * @param {boolean} enable - true if autocomplete should be enabled, false otherwise */ set autoComplete(arg: boolean); /** * Retrieves whether autocomplete is enabled or not for the form * @access public * @returns {boolean} true if autocomplete is enabled (by default or explicitly), false otherwise */ get autoComplete(): boolean; /** * When method=post, sets how form data should be encoded when sending to the server * @access public * @param {String} str - encoding type */ set enctype(arg: string); /** * Retrieves how form data should be encoded when sending to the server when method=post * @access public * @returns {String} encoding type */ get enctype(): string; /** * Sets the HTTP method to use for sending form data * @access public * @param {String} str - HTTP method */ set method(arg: string); /** * Retrieves the HTTP method for sending form data * @access public * @returns {String} HTTP method */ get method(): string; /** * Sets the name of the form * @access public * @param {String} str - name of the form */ set name(arg: string); /** * Retrieves the name of the form * @access public * @returns {String} name of the form */ get name(): string; /** * Sets whether the form should be validated or not when submitted * @access public * @param {boolean} enable - true for validation, false otherwise */ set validate(arg: boolean); /** * Retrieves whether the form should be validated or not when submitted * @access public * @returns {boolean} true if it should be validated, false otherwise */ get validate(): boolean; /** * Sets where to display the response from submitting the form * @access public * @param {String} str - where to display the response */ set target(arg: string); /** * Retrieves where to display the response from submitting the form * @access public * @returns {String} where to display the response */ get target(): string; } import SectionData from "./SectionData";