snabbt.js icon indicating copy to clipboard operation
snabbt.js copied to clipboard

Add sane examples

Open tommiehansen opened this issue 10 years ago • 4 comments

This is just a recommendation more then an issue per se but you should work on adding some basic UI examples. The stack cards etc are all nice etc but hardly useful for anyone looking to use snabbt.js for different types of UI-animations.

I may be adding my own stuff though since snabbt.js since you've added some much needed functionality and i like the fact that Snabbt.js is quite lightweight etc so i may integrate it onto a working project (a flight booking engine).

tommiehansen avatar Nov 09 '15 16:11 tommiehansen

I agree. Demos are more a show off at the moment :) I'm in the middle of doing a big refactoring (move to es6, new build system, unit tests etc..). And as soon as I finish with that I will give the documentation some love.

daniel-lundin avatar Nov 10 '15 20:11 daniel-lundin

I like that i tried to write that comment in under 5s hence the horrible grammar and spelling. :)

But yeah -- great!

tommiehansen avatar Nov 10 '15 20:11 tommiehansen

This is sort of what i mean: http://codepen.io/tommiehansen/pen/netCu

Click "Demo loop (infinite)" to just run the thing or click manually if that's your cup of tea. :)

It is hardly as impressive as your sticks- and card demos but it's a bit more in line with what i think people would use Snabbt.js for.

tommiehansen avatar Nov 23 '15 12:11 tommiehansen

Totally agree. I've just registered a codepen account for snabbt so will start soon :)

daniel-lundin avatar Nov 24 '15 15:11 daniel-lundin