Meta: Clarify what IDL files need adding to idl_files.cmake

This commit is contained in:
Psychpsyo 2025-02-09 18:38:05 +01:00 committed by Sam Atkins
parent 5f9ed343b3
commit 49f65291dc
Notes: github-actions[bot] 2025-02-10 16:08:20 +00:00

View file

@ -23,7 +23,7 @@ interface CSSRule {
};
```
3. Add a `libweb_js_bindings(HTML/HTMLDetailsElement)` call to [`LibWeb/idl_files.cmake`](../Libraries/LibWeb/idl_files.cmake)
3. Add a `libweb_js_bindings(HTML/HTMLDetailsElement)` call to [`LibWeb/idl_files.cmake`](../Libraries/LibWeb/idl_files.cmake) (only for top-level interfaces)
4. Forward declare the generated class in [`LibWeb/Forward.h`](../Libraries/LibWeb/Forward.h):
- `HTMLDetailsElement` in its namespace.