mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-17 17:38:10 +00:00
Initial commit
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
This commit is contained in:
13
src/dom/event_target.zig
Normal file
13
src/dom/event_target.zig
Normal file
@@ -0,0 +1,13 @@
|
||||
const parser = @import("../parser.zig");
|
||||
|
||||
pub const EventTarget = struct {
|
||||
base: ?*parser.EventTarget = null,
|
||||
|
||||
pub fn init(base: ?*parser.EventTarget) EventTarget {
|
||||
return .{ .base = base };
|
||||
}
|
||||
|
||||
pub fn constructor() EventTarget {
|
||||
return .{};
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user