mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-07-02 22:21:33 +00:00
web-sys: Use mixins instead of [NoInterfaceObject]
interfaces and implements
I think these might all be from before WebIDL mixins existed. Either way, multiple inheritance of interfaces that don't have exposed interface objects is equivalent to mixins.
This commit is contained in:
@ -10,8 +10,7 @@
|
||||
* liability, trademark and document use rules apply.
|
||||
*/
|
||||
|
||||
[NoInterfaceObject]
|
||||
interface SVGZoomAndPanValues {
|
||||
interface mixin SVGZoomAndPanValues {
|
||||
|
||||
// Zoom and Pan Types
|
||||
const unsigned short SVG_ZOOMANDPAN_UNKNOWN = 0;
|
||||
@ -21,4 +20,3 @@ interface SVGZoomAndPanValues {
|
||||
[SetterThrows]
|
||||
attribute unsigned short zoomAndPan;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user