cursor.fetch

Anywhere cursor.fetch() Source Return all matching documents as an Array.

App.icons

App.icons(icons) Set the icons for your mobile app. Arguments icons Object An Object where the keys are different devices and screen sizes, and values are image paths relative to the project root directory. Valid key values: iphone_2x (120x120) iphone_3x (180x180) ipad (76x76) ipad_2x (152x152) ipad_pro (167x167) ios_settings (29x29) ios_settings_2x (58x58) ios_settings_3x (87x87) ios_spotlight (40x40) ios_spotlight_2x (80x80) android_mdpi (48x48) android_hdpi (72x72) androi

AccountsServer#validateNewUser

Server accountsServer.validateNewUser(func) Source Set restrictions on new user creation. Arguments func Function Called whenever a new user is created. Takes the new user object, and returns true to allow the creation or false to abort.

Meteor.isServer

Anywhere Meteor.isServer import { Meteor } from 'meteor/meteor' Source Boolean variable. True if running in server environment.

Npm.require

Server Npm.require(name) Require a package that was specified using Npm.depends(). Arguments name String The name of the package to require.

AccountsCommon#userId

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

Template.myTemplate.

Templates When you write a template as <template name="foo"> ... </template> in an HTML file in your app, Meteor generates a "template object" named Template.foo. Note that template name cannot contain hyphens and other special characters. The same template may occur many times on a page, and these occurrences are called template instances. Template instances have a life cycle of being created, put into the document, and later taken out of the document and destroyed. Meteor manages

Introduction

What is Meteor? Meteor is a full-stack JavaScript platform for developing modern web and mobile applications. Meteor includes a key set of technologies for building connected-client reactive applications, a build tool, and a curated set of packages from the Node.js and general JavaScript community. Meteor allows you to develop in one language, JavaScript, in all environments: application server, web browser, and mobile device. Meteor uses data on the wire, meaning the server sends data, not

template.firstNode

Client template.firstNode Source The first top-level DOM node in this template instance.

this.userId

Anywhere this.userId Source The id of the user that made this method call, or null if no user was logged in.