Methods
registerWidgetClass(attributeValue, widgetClass)
Register new class of widgets
On page load, widgetClass.register will be called on each element that has
"data-django-querybuilder-widget" set to attributeValue.
Parameters:
Name | Type | Description |
---|---|---|
attributeValue |
string | |
widgetClass |
- Source:
registerWidgetClassBySelector(selector, widgetClass)
Register new class of widgets with customized selector.
On page load, widgetClass.register will be called on each element matching
the selector.
Parameters:
Name | Type | Description |
---|---|---|
selector |
string | |
widgetClass |
- Source: