Comments (5)
according to what I understand
maybe doing some like that
$(document).ready(function () {
slideout.toggle();
});
from slideout.
sorry, I should have been more clear, i wanted it to load as open without flashing to the user that it was closed and it's opening on document.ready
from slideout.
Would love this as well.
from slideout.
Tried setting 'duration' option to 0 milliseconds, but it still shows an animated opening.
from slideout.
Figured it out. The key is setting duration to 10 and not 0.
// side menu
var slideout = new Slideout({
'panel': document.getElementById('panel'),
'menu': document.getElementById('menu'),
'padding': 320,
'tolerance': 70,
'duration': 10,
});
slideout.open();
from slideout.
Related Issues (20)
- Close menu on link click HOT 3
- overflow: hidden not working on slideout-open classes HOT 2
- Trigger without html HOT 1
- Slide opens when zooming / pinching on phone HOT 4
- window is not defined HOT 1
- Slideout is not working on Iframe
- Slideout not smooth HOT 1
- Is this being maintained? HOT 6
- 233
- index.css on npm is out of sync with repo
- error in console Chrome when slide on devTools mobile ([Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive.) HOT 3
- Slide behind window HOT 1
- animation doesn't appear to be interruptable HOT 1
- Right not working...
- CDN for new branch returns 404
- Rails 6 leaves 'slideout-open' after page reload from nav link HOT 1
- Way to close without animation HOT 1
- tolerance option need to discuss
- Slide push to Slide Over
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 slideout.