vm.$els

vm.$els Type: Object Read only Details: An object that holds DOM elements that have v-el registered. See also: v-el.

vm.$el

vm.$el Type: HTMLElement Read only Details: The DOM element that the Vue instance is managing. Note that for Fragment Instances, vm.$el will return an anchor node that indicates the starting position of the fragment.

vm.$dispatch()

vm.$dispatch( event, […args] ) Arguments: {String} event [...args] Usage: Dispatch an event, first triggering it on the instance itself, and then propagates upward along the parent chain. The propagation stops when it triggers a parent event listener, unless that listener returns true. Any additional arguments will be passed into the listener’s callback function. Example: // create a parent chain var parent = new Vue() var child1 = new Vue({ parent: parent }) var child2 = new Vue({ parent:

vm.$destroy()

vm.$destroy( [remove] ) Arguments: {Boolean} [remove] - default: false Usage: Completely destroy a vm. Clean up its connections with other existing vms, unbind all its directives, turn off all event listeners and, if the remove argument is true, remove its associated DOM element or fragment from the DOM. Triggers the beforeDestroy and destroyed hooks. See also: Lifecycle Diagram

vm.$delete()

vm.$delete( key ) Arguments: {String} key Usage: Delete a root level property on the Vue instance (and also its $data). Forces a digest cycle. Not recommended.

vm.$data

vm.$data Type: Object Details: The data object that the Vue instance is observing. You can swap it with a new object. The Vue instance proxies access to the properties on its data object.

vm.$children

vm.$children Type: Array<Vue instance> Read only Details: The direct child components of the current instance.

vm.$broadcast()

vm.$broadcast( event, […args] ) Arguments: {String} event [...args] Usage: Broadcast an event that propagates downward to all descendants of the current instance. Since the descendants expand into multiple sub-trees, the event propagation will follow many different “paths”. The propagation for each path will stop when a listener callback is fired along that path, unless the callback returns true. Example: var parent = new Vue() // child1 and child2 are siblings var child1 = new Vue({ paren

vm.$before()

vm.$before( elementOrSelector, [callback] ) Arguments: {Element | String} elementOrSelector {Function} [callback] Returns: vm - the instance itself Usage: Insert the Vue instance’s DOM element or fragment before target element. The target can be either an element or a querySelector string. This method will trigger transitions if present. The callback is fired after the transition has completed (or immediately if no transition has been triggered).

vm.$appendTo()

vm.$appendTo( elementOrSelector, [callback] ) Arguments: {Element | String} elementOrSelector {Function} [callback] Returns: vm - the instance itself Usage: Append the Vue instance’s DOM element or fragment to target element. The target can be either an element or a querySelector string. This method will trigger transitions if present. The callback is fired after the transition has completed (or immediately if no transition has been triggered).