Example
Counter
Reactive state, methods, text bindings, and an intentional small UI.
Reactive stateComputed labelsEvent handlers
Fyr.createApp("counter", {
state: { count: 0 },
methods: {
increment() { this.state.count += 1; }
}
});
Example
Reactive state, methods, text bindings, and an intentional small UI.
Fyr.createApp("counter", {
state: { count: 0 },
methods: {
increment() { this.state.count += 1; }
}
});