Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
vendor
/
livewire
/
livewire
/
js
:
DirectiveManager.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
import MessageBus from "./MessageBus" export default { directives: new MessageBus, register(name, callback) { if (this.has(name)) { throw `Livewire: Directive already registered: [${name}]` } this.directives.register(name, callback) }, call(name, el, directive, component) { this.directives.call(name, el, directive, component) }, has(name) { return this.directives.has(name) }, }