mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:57:35 +00:00
LibWeb: Generate Element bindings from IDL :^)
Had to do a bunch more hacking on WrapperGenerator to support this. We now support attribute setters as well.
This commit is contained in:
parent
5eb39a5f61
commit
a64033e581
7 changed files with 103 additions and 289 deletions
10
Libraries/LibWeb/DOM/Element.idl
Normal file
10
Libraries/LibWeb/DOM/Element.idl
Normal file
|
@ -0,0 +1,10 @@
|
|||
interface Element : Node {
|
||||
|
||||
DOMString? getAttribute(DOMString qualifiedName);
|
||||
void setAttribute(DOMString qualifiedName, DOMString value);
|
||||
|
||||
attribute DOMString innerHTML;
|
||||
attribute DOMString id;
|
||||
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue