Email Input State Variable Reference

Table of contents


Introduction

Text Input state variables represent text inputs. Each rendered component will display according to the format specified in the state variable.

Constructor

Syntax

ctl.createPage({
	...,
	stateVarInfo:[
		{type:'emailInput', ...},
	],
})

Parameters


Instance methods

Inherited methods

Note: The component() method returns a EmailInputSvComponent.


isValid()

Syntax

isValid()

Return true if the current state variable value is considered a valid email address. It must contain at least one character, followed by a @, followed by at least one character, followed by a ., followed by at least one character.

Return value

A Boolean. Returns true if the current state variable value is considered valid and false otherwise.


Inherited properties


DOM element properties