{}
You can attach custom actions to events fired by Vanillabox.
var box = $('#foobar').vanillabox(); $(box).on('vnbx_show', function(sender) { // Do something });
Available events:
Name | Arguments | Description |
---|---|---|
vnbx_show | (sender) | Fired after showing |
vnbx_load | (sender) | Fired after loading a content |
vnbx_hide | (sender, success, content, index) | Fired after hiding |