Enhance Template Functionality with Meteor Template States


Summary of my bookmarked Github repositories from Mar 14th, 2015

Github repositories

  • gwendall/meteor-template-states

    Meteor Template States is a package for Blaze that provides template states functionality. It allows you to declare and manage states within templates. You can use the `template.state(key)` method to retrieve a template state, and the `template.state(key, value)` method to set a template state. To use this package, install it with `meteor add gwendall:template-states`. The states can be declared in the `onCreated` hook of your template and accessed in your templates. An example usage involves setting the state to "loading" during a form submission and resetting it when the operation is complete.