We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62f6f44 commit 2aa23bcCopy full SHA for 2aa23bc
src/public.js
@@ -23,6 +23,8 @@ QueryBuilder.prototype.destroy = function() {
23
* Reset the plugin
24
*/
25
QueryBuilder.prototype.reset = function() {
26
+ this.trigger('beforeReset');
27
+
28
this.status.group_id = 1;
29
this.status.rule_id = 0;
30
@@ -37,6 +39,8 @@ QueryBuilder.prototype.reset = function() {
37
39
* Clear the plugin
38
40
41
QueryBuilder.prototype.clear = function() {
42
+ this.trigger('beforeClear');
43
44
this.status.group_id = 0;
45
46
0 commit comments