#include <v8.h>
Public Member Functions | |
| void | Set (Handle< String > name, Handle< Data > value, PropertyAttribute attributes=None) |
| void | Set (const char *name, Handle< Data > value) |
Friends | |
| class | ObjectTemplate |
| class | FunctionTemplate |
The superclass of object and function templates.
| void v8::Template::Set | ( | Handle< String > | name, | |
| Handle< Data > | value, | |||
| PropertyAttribute | attributes = None | |||
| ) |
Adds a property to each instance created by this template.
1.7.1