Meteor.clearTimeout

Anywhere Meteor.clearTimeout(id) import { Meteor } from 'meteor/meteor' Source Cancel a function call scheduled by Meteor.setTimeout. Arguments id Number The handle returned by Meteor.setTimeout

coffeescript

coffeescript CoffeeScript is a little language that compiles into JavaScript. It provides a simple syntax without lots of braces and parentheses. The code compiles one-to-one into the equivalent JS, and there is no interpretation at runtime. CoffeeScript is supported on both the client and the server. Files ending with .coffee, .litcoffee, or .coffee.md are automatically compiled to JavaScript.

Mongo.ObjectID

Anywhere new Mongo.ObjectID([hexString]) import { Mongo } from 'meteor/mongo' Source Create a Mongo-style ObjectID. If you don't specify a hexString, the ObjectID will generated randomly (not using MongoDB's ID construction rules). Arguments hexString String Optional. The 24-character hexadecimal contents of the ObjectID to create

Meteor.setTimeout

Anywhere Meteor.setTimeout(func, delay) import { Meteor } from 'meteor/meteor' Source Call a function in the future after waiting for a specified delay. Arguments func Function The function to run delay Number Number of milliseconds to wait before calling function

Template.body

Client Template.body import { Template } from 'meteor/templating' Source The template object representing your <body> tag.

computation.stopped

Client computation.stopped Source True if this computation has been stopped.

computation.invalidated

Client computation.invalidated Source True if this computation has been invalidated (and not yet rerun), or if it has been stopped.

URLs and Routing

After reading this guide, you’ll know: The role URLs play in a client-rendered app, and how it’s different from a traditional server-rendered app. How to define client and server routes for your app using Flow Router. How to have your app display different content depending on the URL. How to construct links to routes and go to routes programmatically. Client-side Routing In a web application, routing is the process of using URLs to drive the user interface (UI). URLs are a prominent feature

AccountsCommon#user

Anywhere but publish functions accountsClientOrServer.user() Source Get the current user record, or null if no user is logged in. A reactive data source.

{{&gt; Template.dynamic}}

Templates {{> Template.dynamic template=template [data=data] }} Source Choose a template to include dynamically, by name. Arguments template String The name of the template to include. data Object Optional. The data context in which to include the template.