Commit Graph

65 Commits

Author SHA1 Message Date
723110efab
Remove debug log from two-way binding setup in CustomElement 2025-05-15 10:09:07 +10:00
943678b4f3
Enhance template processing: implement macro handling for condition rendering and two-way data binding 2025-05-15 10:07:35 +10:00
45af436648
Refactor attribute binding logic: streamline detection of bindings and improve handling of non-standard attributes 2025-05-15 09:14:24 +10:00
ae48c89291
Enhance arrow function handler: improve syntax validation and parameter formatting for better error handling 2025-05-14 22:08:50 +10:00
e9ddbcdf47
Refactor event handler setup: improve arrow function and function call handling, enhance error logging 2025-05-14 21:57:38 +10:00
c44c9fc2c0
Add event handling support in ComponentOptions and implement event binding logic in CustomElement 2025-05-14 21:54:17 +10:00
841f02bb38
Enhance state management in CustomElement: add state listeners, improve DOM update logic, and implement text and attribute binding mechanisms 2025-05-14 20:48:30 +10:00
b9cb3f455c
Add statesListeners to ComponentOptions and trigger state update events in setState 2025-05-14 16:25:51 +10:00
9d62c64b0f
Refactor state management in CustomElement: simplify setState and getState methods, update keyPath parameter naming for consistency 2025-05-14 16:13:52 +10:00
0aee6488d2
Refactor CustomElement implementation: update interface for onMount and onUnmount, enhance setState logic, and rename class to CustomElementImpl 2025-05-14 16:02:50 +10:00
cbd2c67d2d
Add state management to CustomElement and update ComponentOptions interface 2025-05-14 15:35:35 +10:00
3a05316522
Remove commented code and improve clarity in template parsing logic 2025-05-14 15:25:30 +10:00
cd4d195bd4
Refactor component structure: move ComponentOptions to main.ts, update package.json, and remove unused files 2025-05-14 15:21:45 +10:00
5a1d8469d6
Add ComponentOptions type definition and update index.ts to use it 2025-05-14 10:19:10 +10:00
8fe77f3b9b
initial commit
with basic features of Laterano
2025-05-14 09:34:13 +10:00