Comments (1)
Hi @LucAwater,
What is closer
in the example you are using? I think the issue is that closer
doesn't have a function called closeSidebars
because closeSidebars
is a function of Pikabu. If you want to call it you should do something like:
pikabu.closeSidebars()
Note: The onOpened
event is going to fire whenever Pikabu gets opened. If you call closeSidebars
whenever Pikabu is opened it is just going to close immediately which is probably not the behaviour you are looking for.
Also, I'd love to hear what project you're using this in! Please let us know if you have any issues going forward.
Cheers,
Ted
from pikabu.
Related Issues (20)
- Turn off 'applyPersistentStyles' style injection HOT 2
- Firefox display: -moz-box unnecessary? HOT 5
- Desktop Chrome is given a wrong height due to Chrome for Android Check HOT 4
- Doesn't work in IE10
- Error after opening drawer HOT 7
- Reducing the size of the browser HOT 2
- After clicking the toggle button the scroll seems disabled HOT 1
- Old IE support HOT 1
- Multiple Pikabus should make multiple shades HOT 4
- Pikabu 2.0 does not handle orientation change well
- extra white space on Android 4 browsers HOT 2
- Pikabu 2.0: how to mark up the body content HOT 1
- Issue with pikabu after using browsers back button on iOS8 HOT 1
- Max-width px sidebar HOT 1
- Pikabu 2.0: Non-standard classes don't work
- Pikabu 2.0: Perspective effect doesn't have a proper close hit target HOT 5
- Pikabu 2.0: Automated tests don't work HOT 2
- Pikabu 2.0: Styling issue when opening menu while partially scrolled (Chrome)
- data attribute pikabu initialization not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pikabu.