Home Cooker Classes Others Rice CookerGX
Classes  >  textarea  >  textarea(element)
textarea class : textarea(element) fitter

Description

Gets an instance of textarea class initialized by argument.

Syntax

new textarea(element textareaElement)

Arguments

ClassNameDescription
elementtextareaElementAn instance of the element class representing the textarea tag.

Return value

ClassDescription
textareaAn instance of the textarea class initialized by argument.

Sample code

// The textareaElement is an instance of the element class representing the textarea tag.

textarea textareaInstance = new textarea(textareaElement);

Notes

If the argument is not an instance of the appropriate element class, an exception will be raised.

Links for reference

None.

Copyright © Rice All rights reserved.