This document describes the properties and methods of the results elements:
Table is described here.
The values of properties can be accessed using the $
operator. For example, to retrieve the title of an element, one can
go:
element$title
The methods of a results elements are called using the $
operator as well. For example:
element$setTitle('An awesome title')
The following properties and methods are common to all results elements
a string specifying the name of the element
a string specifying the title of the element
TRUE or FALSE, whether the element is
visible or not
a string, one of 'complete', 'error',
'inited', 'running'
a list of ‘keys’
the state
sets the element’s status, should be one of 'complete',
'error', 'inited', 'running'
overrides the elements default visibility
sets the element’s title
sets the element’s status to ‘error’, and assigns the error message
sets the state object on the element