Thursday, April 24, 2014

POM 360

Checkout the cool implementation of automatic textarea resize in (POM360.js) after:
  • Window resize
  • Tab change
  • Show/Hide of footer
tricks used:
  • $(window).resize(fn)
  • $rootScope.$on('$stateChangeSuccess', fn() {setTimeout(fn, 0)});
  • track show/hide of detail footer




Implemented using:
  • node webkit
  • AngularJS
    • UI router
  • bootstrap
How to run:

> nw POM236NW.nw



No comments: