-
Notifications
You must be signed in to change notification settings - Fork 0
Attribute: classname
Peter Reijnders edited this page Jan 26, 2017
·
3 revisions
- Name: 'classname'
- Since: draft
- Usage on: 'Interface'
- Allowed value: string with the exposed classname
- Rationale: the javascript classname can deviatie from the interface name.
- Default value: if this is not set, it is equivalent to the name of the interface name
- Reference: 'Socket'
[ ImplementedAs=JSSocket,
classname = Socket ] interface Socket {
};
class {{ cppclassname }} : public ClassMapper<{{ cppclassname }}>, public {{ classname }}_Base
{
...
class JSSocket : public ClassMapper<JSSocket>, public JSSocket_Base
{
...
// not needed