Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Class virtual Widget.​parametrized_widget

class virtual [
['param_type, 'data_type, 'result_type]]
: object..end


method private virtual retrieve_data : 'param_type -> 'data_type Lwt.t

This method retrieves the parametrized_widget's data, for example from an SQL database. It is normally called by the parametrized_widget's display method, and can be overridden in order to use another type of storage.

method virtual apply : data:'param_type -> 'result_type