unsafeDelimiters

unsafeDelimiters Type: Array<String> Default: ["{{{", "}}}"] Usage: // make it look more dangerous Vue.config.unsafeDelimiters = ['{!!', '!!}'] Change the raw HTML interpolation delimiters.

Vue.directive()

Vue.directive( id, [definition] ) Arguments: {String} id {Function | Object} [definition] Usage: Register or retrieve a global directive. // register Vue.directive('my-directive', { bind: function () {}, update: function () {}, unbind: function () {} }) // register (simple function directive) Vue.directive('my-directive', function () { // this will be called as `update` }) // getter, return the directive definition if registered var myDirective = Vue.directive('my-directive') See

Vue.component()

Vue.component( id, [definition] ) Arguments: {String} id {Function | Object} [definition] Usage: Register or retrieve a global component. // register an extended constructor Vue.component('my-component', Vue.extend({ /* ... */ })) // register an options object (automatically call Vue.extend) Vue.component('my-component', { /* ... */ }) // retrieve a registered component (always return constructor) var MyComponent = Vue.component('my-component') See also: Components.

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