Slidebars Events

Slidebars 2 dispatches events on the controller indicating it's current behaviour. You can listen for the following events and attach a handling function to be executed.

init

The init event is dispatched when the Slidebars framework is initialized.

exit

The exit event is dispatched when the Slidebars framework is disabled.

css

The css event is dispatched each time the Slidebars inline CSS is reset.

opening

The opening event is dispatched when a Slidebar begins to open.

opened

The opened event is dispatched when a Slidebar has finished opening.

closing

The closing event is dispatched when a Slidebar begins to close.

closed

The closed event is dispatched when a Slidebar has finished closing.

Slidebars
Adchsm

Hi, I'm Adam.

I'm a freelance website designer and front-end developer in BCN.

Left and Right

Top and Bottom

Multiple Same Side

Animation Styles

Mobile Only

Custom Widths and Heights

Custom Transition Durations

Callbacks

Events