W3cubDocs

/Haxe JavaScript

Proxy<T>

package js.lib

Available on js

The Proxy object is used to define custom behavior for fundamental operations (e.g. property lookup, assignment, enumeration, function invocation, etc).

Documentation Proxy by Mozilla Contributors, licensed under CC-BY-SA 2.5.

Static methods

staticrevocable<T>(target:T, handler:ProxyHandler<T>):RevocableProxy<T>

Creates a revocable Proxy object.

Constructor

new(target:T, handler:ProxyHandler<T>)

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/lib/Proxy.html