vm.$remove()

vm.$remove( [callback] ) Arguments: {Function} [callback] Returns: vm - the instance itself Usage: Remove the Vue instance’s DOM element or fragment from the DOM. 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.$off()

vm.$off( [event, callback] ) Arguments: {String} [event] {Function} [callback] Usage: Remove event listener(s). If no arguments are provided, remove all event listeners; If only the event is provided, remove all listeners for that event; If both event and callback are given, remove the listener for that specific callback only.

vm.$once()

vm.$once( event, callback ) Arguments: {String} event {Function} callback Usage: Listen for a custom event, but only once. The listener will be removed once it triggers for the first time.

vm.$interpolate()

vm.$interpolate( templateString ) Arguments: {String} templateString Usage: Evaluate a piece of template string containing mustache interpolations. Note that this method simply performs string interpolation; attribute directives are ignored. Example: // assuming vm.msg = 'hello' vm.$interpolate('{{msg}} world!') // -> 'hello world!'

vm.$log()

vm.$log( [keypath] ) Arguments: {String} [keypath] Usage: Log the current instance data as a plain object, which is more inspection-friendly than a bunch of getter/setters. Also accepts an optional key. vm.$log() // logs entire ViewModel data vm.$log('item') // logs vm.item

vm.$eval()

vm.$eval( expression ) Arguments: {String} expression Usage: Evaluate a valid binding expression on the current instance. The expression can also contain filters. Example: // assuming vm.msg = 'hello' vm.$eval('msg | uppercase') // -> 'HELLO'

vm.$mount()

vm.$mount( [elementOrSelector] ) Arguments: {Element | String} [elementOrSelector] Returns: vm - the instance itself Usage: If a Vue instance didn’t receive the el option at instantiation, it will be in “unmounted” state, without an associated DOM element or fragment. vm.$mount() can be used to manually start the mounting/compilation of an unmounted Vue instance. If no argument is provided, the template will be created as an out-of-document fragment, and you will have to use other DOM inst

vm.$emit()

vm.$emit( event, […args] ) Arguments: {String} event [...args] Trigger an event on the current instance. Any additional arguments will be passed into the listener’s callback function.

vm.$nextTick()

vm.$nextTick( callback ) Arguments: {Function} [callback] Usage: Defer the callback to be executed after the next DOM update cycle. Use it immediately after you’ve changed some data to wait for the DOM update. This is the same as the global Vue.nextTick, except that the callback’s this context is automatically bound to the instance calling this method. Example: new Vue({ // ... methods: { // ... example: function () { // modify data this.message = 'changed' //

vm.$get()

vm.$get( expression ) Arguments: {String} expression Usage: Retrieve a value from the Vue instance given an expression. Expressions that throw errors will be suppressed and return undefined. Example: var vm = new Vue({ data: { a: { b: 1 } } }) vm.$get('a.b') // -> 1 vm.$get('a.b + 1') // -> 2