Comments (3)
I'll look into this soon, just didn't have time today.
from adapt.
So, I'm a bit confused as to the benefit of this being passed, because this doesn't necessarily even mean the DOM has loaded, and certainly isn't a window.onload fire. Adapt does its initial work before any of that happens.
Meaning, if you're wanting to use Adapt for the equivalent of jQuery's $(document).ready, you'd be getting a false positive. Is that what you were getting at, or have I misunderstood?
from adapt.
I was not using this to tell if the DOM had finished loading.
I wanted to do nothing when this callback was called the first time the page is loaded and some work when the callback happens during a page re-size. The change worked for me.
Cheers
from adapt.
Related Issues (20)
- Bug on (nested) Fluid Grids HOT 4
- Nested grids on mobile. HOT 3
- alternative to noscript HOT 1
- Remove all-or-nothing requirement tied to 'path' property HOT 4
- Feature request: Load multiple stylesheets for single range index HOT 2
- Question: What's the purpose of the timeout? HOT 9
- Callback gets called before css update HOT 4
- Problems with sizes due to delayed css insert HOT 7
- a suggestion to allow "media" to be a configuration option
- Responsive site with adapt HOT 3
- container_16 and container_24 HOT 1
- Demo files don't work locally in Chrome HOT 5
- Problem with .alpha and .omega in mobile.css HOT 2
- [enhancement] Add missing bower.json.
- adding adapt.js to cdnjs HOT 1
- You cannot not define the path HOT 10
- Allow dynamic reconfiguration.
- Does it affect SEO? HOT 2
- bug when I run SSL HOT 3
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 adapt.