twbs / ratchet Goto Github PK
View Code? Open in Web Editor NEWBuild mobile apps with simple HTML, CSS, and JavaScript components.
Home Page: http://goratchet.com
License: MIT License
Build mobile apps with simple HTML, CSS, and JavaScript components.
Home Page: http://goratchet.com
License: MIT License
Base.css set body to position fixed among other things. We just need to get in there and override when necessary.
we're using [foo*='bar']
quite a bit, and these selectors are really expensive. (they're actually the most expensive selector you can run)
Also, CSS evals from right to left (you probably know that) – so doing things like this doesn't actually scope the selector (perf wise makes them even more expensive):
.list [class*="button"]
The above is still running a universal selector *
on the entire dom, then checking all attributes for class, then running an expensive regex on each class attr. Then, after it's done that, it checks the dom for list elements, and see's if any of the initial matched elements have a list parent.
I only bring this up because in the sample app i'm building rendering (on the phone) seems a little jank. Also (even without js) the scroll is horrible (though that may be unrelated).
At anyrate, i think we should talk a look at css perf and see if there is anything we can do to improve it.
Also, I remember connor pointing out the other night that the slide.js perf on his phone was a little jank – which is something we should look at in the js.
Not just <a>
tags, but on anything by defining the href
instead with a data
attribute. This should actually be the default since there are tons of locations that aren't <a>
's that I would want to fire pushes (I think).
Im missing arrow buttons guys.
We need to decide if we're going to support browsers. Do we need to provide the whole vendor prefix stack or just webkit?
The positioning is off
Right now we haven't considered common content structure in a list item.
We need to write content for each component. When / how to use each.
Toggles in lists have a huge delay in changing the :before/after
content. This means the .toggle-handle
animates, but then the active
class isn't applied at the right time, but entirely after the animation?
Oddly enough, last children of a list don't have this issue though...
Im missing arrow buttons guys.
Also have a way to fallback to a normal
Turn one toggle on and then flip another one on the page. You'll notice the flickering.
Make all the HTML snippets for sublime text
This could be 100% user error, but in the top level of the directory running `build make' is failing?
Either force the text not to wrap or support the change in height.
When using a .bar-tab, the bottom of the content body lives behind the navigation. The value for bottom
doesn't fix it since it's not adding an actual space below.
font-size: 0 on slider causes all children to have font-size 0 – and thus all slider content fontsize 0.
should probably fix that.
Include links to all resources, docs, etc and how to get started. Also how to launch project on phone <3
Right now they turn blue. Blue on blue in the bar hurts the eyes. We should just make it look the same as a default h1 in the title-bar.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.