0.1.3 • Published 9 years ago

yamvish-transition v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

yamvish-transition

Minimalist css transition for yamvish views and containers.

Only fadeIn/fadeOut and slideLeft or slideUp for the moment.

Use case

Work only on container-rendered template as:

  • y.view()
  • if(..., trueTempl, falseTempl)
  • each(..., itemTempl, emptyTempl)
  • switch(..., { value:caseTemplate }
  • ...

Any of those templates are rendered as yamvish Container and then mounted at needed place (core behaviour). Transitions are automatically fired on 'mounted' event and beforeUnmount.

Take a look on code.

Usage

require('yamvish-transition');

y.view()
.use('transition:slide-up', { ms:400, max:'100vh' })
.div('...');

Licence

MIT

0.1.3

9 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago