blob: 0040c9d362d54e8326d4bcf2b206a38fb5483080 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
const z = @import("z");
const Self = @This();
pub const component: z.Component = .{
.name = "navbutton",
.html = .parse(@embedFile("index.html")),
.css = @embedFile("index.css"),
.link = @This(),
};
element: *z.Object,
pub fn init(self: *Self, element: *z.Object) void {
self.element = element;
}
|