add(element, name, options) {

		const el = Api.createElement(element, options);
		el.setAttribute("name", element + " " + name);
		this.elements.push(el);

	}
/**
 	 * Creates and adds an element to the popup
	 * 
	 * @param {string} element The element type
	 * @param {string} name The name of the input field
	 * @param {object} options The options 
	 */
Creates and adds an element to the popup

@param {string} element The element type
@param {string} name The name of the input field
@param {object} options The options
Creates and adds an element to the popup @param { string } element The element type @param { string } name The name of the input field @param { object } options The options
add(element, name, options) {
		const el = Api.createElement(element, options);
		el.setAttribute("name", element + " " + name);
		this.elements.push(el);
	}
add ( element , name , options ) { const el = Api . createElement ( element , options ) ; el . setAttribute ( "name" , element + " " + name ) ; this . elements . push ( el ) ; }
Creates and adds an element to the popup
Creates and adds an element to the popup