Meteor.methods

Anywhere Meteor.methods(methods) import { Meteor } from 'meteor/meteor' Source Defines functions that can be invoked over the network by clients. Arguments methods Object Dictionary whose keys are method names and values are functions.

Meteor.isCordova

Anywhere Meteor.isCordova import { Meteor } from 'meteor/meteor' Source Boolean variable. True if running in a Cordova mobile environment.

Accounts.emailTemplates

Server Accounts.emailTemplates import { Accounts } from 'meteor/accounts-base' Source Options to customize emails sent from the Accounts system.

template.data

Client template.data Source The data context of this instance's latest invocation.

Build system

The Meteor build system is the actual command line tool that you get when you install Meteor. You run it by typing the meteor command in your terminal, possibly followed by a set of arguments. Read the docs about the command line tool or type meteor help in your terminal to learn about all of the commands. What does it do? The Meteor build tool is what compiles, runs, deploys, and publishes all of your Meteor apps and packages. It’s Meteor’s built-in solution to the problems also solved by tool

{{> 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.

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

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.

{{currentUser}}

{{ currentUser }} Source Calls Meteor.user(). Use {{#if currentUser}} to check whether the user is logged in.