c.w.lazrjs : module documentation

Part of canonical.widgets

Wrappers for lazr-js widgets.
Class TextLineEditorWidget Wrapper for the lazr-js inlineedit/editor.js widget.
Class TextAreaEditorWidget Wrapper for the multine-line lazr-js inlineedit/editor.js widget.
Class InlineEditPickerWidget Wrapper for the lazr-js picker widget.
Function vocabulary_to_choice_edit_items Convert an enumerable to JSON for a ChoiceEdit.
def vocabulary_to_choice_edit_items(vocab, css_class_prefix=None, disabled_items=None, as_json=False, name_fn=None, value_fn=None):
Convert an enumerable to JSON for a ChoiceEdit.
Unknown Field: vocabThe enumeration to iterate over.
Unknown Field: css_class_prefixIf present, append this to an item's value to create the css_class property for it.
Unknown Field: disabled_itemsA list of items that should be displayed, but disabled.
Unknown Field: name_fnA function receiving an item and returning its name.
Unknown Field: value_fnA function receiving an item and returning its value.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.