Package s3 :: Module s3widgets :: Class S3QuestionWidget
[frames] | no frames]

Class S3QuestionWidget

source code

??-267 --+
         |
        S3QuestionWidget

A Question widget which takes attributes of a typical question as input and converts it into a JSON

Instance Methods
 
__call__(self, field, value, **attr)
Widget builder
source code
Method Details

__call__(self, field, value, **attr)
(Call operator)

source code 

Widget builder

Parameters:
  • field - the Field
  • value - the current value
  • attributes - the HTML attributes for the widget