Blaze.remove

Client Blaze.remove(renderedView) import { Blaze } from 'meteor/blaze' Source Removes a rendered View from the DOM, stopping all reactive updates and event listeners on it. Arguments renderedView Blaze.View The return value from Blaze.render or Blaze.renderWithData.

Tracker.afterFlush

Client Tracker.afterFlush(callback) import { Tracker } from 'meteor/tracker' Source Schedules a function to be called during the next flush, or later in the current flush if one is in progress, after all invalidated computations have been rerun. The function will be run once and not on subsequent flushes unless afterFlush is called again. Arguments callback Function A function to call at flush time.

HTTP.get

Anywhere HTTP.get(url, [callOptions], [asyncCallback]) import { HTTP } from 'meteor/http' Source Send an HTTP GET request. Equivalent to calling HTTP.call with "GET" as the first argument. Arguments url String The URL to which the request should be sent. callOptions Object Options passed on to HTTP.call. asyncCallback Function Callback that is called when the request is completed. Required on the client.

EJSON.clone

Anywhere EJSON.clone(val) import { EJSON } from 'meteor/ejson' Source Return a deep copy of val. Arguments val EJSON-able Object A value to copy.

EJSON.toJSONValue

Anywhere EJSON.toJSONValue(val) import { EJSON } from 'meteor/ejson' Source Serialize an EJSON-compatible value into its plain JSON representation. Arguments val EJSON-able Object A value to serialize to plain JSON.

Accounts.setUsername

Server Accounts.setUsername(userId, newUsername) import { Accounts } from 'meteor/accounts-base' Source Change a user's username. Use this instead of updating the database directly. The operation will fail if there is an existing user with a username only differing in case. Arguments userId String The ID of the user to update. newUsername String A new username for the user.

AccountsCommon#config

Anywhere accountsClientOrServer.config(options) Source Set global accounts options. Options sendVerificationEmail Boolean New users with an email address will receive an address verification email. forbidClientAccountCreation Boolean Calls to createUser from the client will be rejected. In addition, if you are using accounts-ui, the "Create account" link will not be available. restrictCreationByEmailDomain String or Function If set to a string, only allows new users if the do

Accounts.removeEmail

Server Accounts.removeEmail(userId, email) import { Accounts } from 'meteor/accounts-base' Source Remove an email address for a user. Use this instead of updating the database directly. Arguments userId String The ID of the user to update. email String The email address to remove.

App.accessRule

App.accessRule(pattern, [options]) Set a new access rule based on origin domain for your app. By default your application has a limited list of servers it can contact. Use this method to extend this list. Default access rules: tel:*, geo:*, mailto:*, sms:*, market:* are allowed and are handled by the system (e.g. opened in the phone app or an email client) http://localhost:* is used to serve the app's assets from. The domain or address of the Meteor server to connect to for DDP and hot cod

Cordova.depends

package.js Cordova.depends(dependencies) Specify which Cordova / PhoneGap plugins your Meteor package depends on. Plugins are installed from plugins.cordova.io, so the plugins and versions specified must exist there. Alternatively, the version can be replaced with a GitHub tarball URL as described in the Cordova page of the Meteor wiki on GitHub. Arguments dependencies Object An object where the keys are plugin names and the values are version numbers or GitHub tarball URLs in string