surrogate
Version: 
Object method hooks made easy
17 lines (12 loc) • 538 B
JavaScript
import {ProxyRule as $77ae5d5db6ae6899$export$b530e0f2985eafdb} from "./surrogate.1a5ec86a.js";
class $8ca9e0605d39e585$export$76861d5f0fd4aeed extends (0, $77ae5d5db6ae6899$export$b530e0f2985eafdb) {
    shouldHandle() {
        return true;
    }
    returnableValue() {
        const { target: target, event: event, receiver: receiver } = this;
        return this.proxy.bindHandler(event, target, receiver);
    }
}
export {$8ca9e0605d39e585$export$76861d5f0fd4aeed as BindingRule};
//# sourceMappingURL=surrogate.2cbb97d1.js.map