mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:37:36 +00:00
LibJS+LibWeb: Move native properties to separate getters/setters
This was a bit cumbersome now, but it gets us closer to a format suited for code generation.
This commit is contained in:
parent
56936b97d0
commit
30440134cb
19 changed files with 210 additions and 96 deletions
|
@ -41,6 +41,9 @@ public:
|
|||
|
||||
private:
|
||||
virtual const char* class_name() const override { return "ElementWrapper"; }
|
||||
|
||||
static JS::Value inner_html_getter(JS::Interpreter&);
|
||||
static void inner_html_setter(JS::Interpreter&, JS::Value);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue