Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Conversation

@idflood
Copy link

@idflood idflood commented Sep 29, 2015

This simply add a onShow callback.

This is useful to add a class to the body in case the banner is shown and the site needs specific styling (fixed position header for instance).

A workaround would be to test the presence of the banner but I feel this small optional callback is a nice addition to this library.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants