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

Description

Gets an instance of radio class initialized by argument.

Syntax

new radio(element inputElement)

Arguments

ClassNameDescription
elementinputElementAn instance of the element class representing the input tag which the type attribute is "radio".

Return value

ClassDescription
radioAn instance of the radio class initialized by argument.

Sample code

// The inputElement is an instance of the element class representing the input tag.

radio radioInstance = new radio(inputElement);

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.