cursor.fetch

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

this.stop

Server this.stop() Source Call inside the publish function. Stops this client's subscription and invokes the client's onStop callback with no error.

Blaze.If

Client Blaze.If(conditionFunc, contentFunc, [elseFunc]) import { Blaze } from 'meteor/blaze' Source Constructs a View that renders content conditionally. Arguments conditionFunc Function A function to reactively re-run. Whether the result is truthy or falsy determines whether contentFunc or elseFunc is shown. An empty array is considered falsy. contentFunc Function A Function that returns renderable content. elseFunc Function Optional. A Function that returns renderable conte

meteor admin

meteor admin Catch-all for miscellaneous commands that require authorization to use. Some example uses of meteor admin include adding and removing package maintainers and setting a homepage for a package. It also includes various helpful functions for managing a Meteor release. Run meteor help admin for more information.

Package.onUse

Package Definition Define dependencies and expose package methods with the Package.onUse handler. This section lets you define what packages your package depends on, what packages are implied by your package, and what object your package is exported to. package.js Package.onUse(func) Define package dependencies and expose package methods. Arguments func Function A function that takes in the package control api object, which keeps track of dependencies and exports. package.js

collection.rawDatabase

Server collection.rawDatabase() Source Returns the Db object corresponding to this collection's database connection from the npm mongodb driver module which is wrapped by Mongo.Collection.

this.error

Server this.error(error) Source Call inside the publish function. Stops this client's subscription, triggering a call on the client to the onStop callback passed to Meteor.subscribe, if any. If error is not a Meteor.Error, it will be sanitized. Arguments error Error The error to pass to the client.

cursor.observeChanges

Anywhere cursor.observeChanges(callbacks) Source Watch a query. Receive callbacks as the result set changes. Only the differences between the old and new documents are passed to the callbacks. Arguments callbacks Object Functions to call to deliver the result set as it changes

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

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