clinical:auto-resizing

v0.0.1Published 9 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

clinical-auto-resizing

Adds resizing hooks to your application to trigger UI element resizes.

======================================

Installation

meteor add clinical:auto-resizing

======================================

Usage

Simply put <div class="hidden">{{resize}}</div> in any template, like so:

1<template name="examplePage">
2  <div class="hidden">{{resize}}</div>
3  <div id="examplePage">
4    <!-- stuff -->
5  </div>
6</template>

And then trigger it by resizing the browser, or setting the resize session variable.

1Session.set('resize', new Date());