Widget Hidden

From eyeOS Wiki

Jump to: navigation, search

Contents

Introduction

The Hidden widget is an invisible widget usually used in applications to carry a value so that it can be checked/modified in an app.

Widget Use

Available Generic Keys

None.

Specific Keys

  • text: sets the value of the widget.

Methods

 setText($content)
  • Description: changes the text of the Hidden field and updates it to apply the changes.
  • Arguments:
    • newValue: new text content to set.
 setValue($content)
  • Description: sets the text content of the Hidden field.
  • Arguments:
    • newValue: new text content to set.

Can be serialized

Yes, by default this widget is always serialized. Serialization can be avoided by passing number 1 to its show() method.

Personal tools