Sindbad~EG File Manager

Current Path : /var/www/html/eddcfa.sumar.com.py_old/vendor/livewire/livewire/js/action/
Upload File :
Current File : /var/www/html/eddcfa.sumar.com.py_old/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)
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists