We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e7644b commit 1201d5fCopy full SHA for 1201d5f
1 file changed
doc/methods.md
@@ -534,6 +534,13 @@ bool SetAccessor(v8::Local<v8::Object> obj,
534
v8::AccessControl settings = v8::DEFAULT,
535
v8::PropertyAttribute attribute = v8::None)
536
// Starting from v8 14.2 new enum is used
537
+void SetAccessor(v8::Local<v8::ObjectTemplate> tpl,
538
+ v8::Local<v8::String> name,
539
+ Nan::GetterCallback getter,
540
+ Nan::SetterCallback setter = 0,
541
+ v8::Local<v8::Value> data = v8::Local<v8::Value>(),
542
+ enum Nan::AccessControl settings = DEFAULT,
543
+ v8::PropertyAttribute attribute = v8::None);
544
bool SetAccessor(v8::Local<v8::Object> obj,
545
v8::Local<v8::String> name,
546
Nan::GetterCallback getter,
0 commit comments