Clears the value of the widget.
None
Returns the widget type.
String
Sets the widget state to read only.
true, false
Enables the widget on the page.
Disables the widget on the page.
Returns the container element of the widget.
jQuery Object
Returns the element of the widget.
Returns the input element of the widget.
Returns the value of the chosen attribute of the widget.
Hides the widget from the form.
Shows the widget on the form.
Sets the background colour of the widget.
Sets the border colour of the widget.
Sets the width of the border associated with the widget.
Sets the colour of the widget. In the case of the QR Code widget, this will set the colour of the QR Code itself.
Sets the encoding type for the QR Code widget to adhere to.
Sets the error correction level for the widget. More information on error correction levels can be found here. The default value is 'L'.
Sets the padding of the widget.
Sets the preferred rendering engine. The default value for this is 'svg'. More information on this method can be found here.
Sets the size of the widget. The default value is '150'.
String, Integer
Sets the value of the widget. In the case of the QR Barcode widget, a new barcode will be rendered based on this value.
Toggles the visibility of the widget.