芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/livewire/livewire/js/action/index.js
export default class { constructor(el, skipWatcher = false) { this.el = el this.skipWatcher = skipWatcher this.resolveCallback = () => { } this.rejectCallback = () => { } } toId() { return btoa(encodeURIComponent(this.el.outerHTML)) } onResolve(callback) { this.resolveCallback = callback } onReject(callback) { this.rejectCallback = callback } resolve(thing) { this.resolveCallback(thing) } reject(thing) { this.rejectCallback(thing) } }