We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b674155 commit f832967Copy full SHA for f832967
src/lib.rs
@@ -97,6 +97,7 @@ enum CallbackId {
97
Filter,
98
Clone,
99
Change,
100
+ Spill,
101
_Total,
102
}
103
@@ -205,6 +206,11 @@ impl Options {
205
206
207
// TODO: onMove
208
209
+ // RevertOnSpill / RemoveOnSpill plugins
210
+ option!(revert_on_spill, "revertOnSpill", bool, from_bool);
211
+ option!(remove_on_spill, "removeOnSpill", bool, from_bool);
212
+ callback!(on_spill, "onSpill", Spill);
213
+
214
/// Recover the javascript options that are being built in this object
215
///
216
/// Note that you can set options on this object through `js_sys::Reflect`.
0 commit comments