-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
For now, c++ part of bindings is generated automatically from js-based DSL. It would be awesome to generate JS-part (lib/elementor.ts) too.
Default method implementation will be transformed from C++ part:
- JS Arguments types will be cast from c++ arguments:
| C++ | JavaScript |
|---|---|
| std::string | string |
| int | number |
| float | number |
| Size | Size |
| Element | Element |
- Default method implementation will be something like this:
class ClassName {
methodName(...args) {
super.methodName(...args);
return this;
}
methodName(...args) {
return super.methodName(...args); // if body last line starts with return
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request