Commit Graph

18 Commits

Author SHA1 Message Date
Géry Debongnie 25da2b2230 add t-keep-alive directive 2019-01-31 10:55:06 +01:00
Géry Debongnie 6012d76388 fix issue with vnodes being patched twice 2019-01-30 21:09:34 +01:00
Géry Debongnie 4e4702c6cf fix context issue after loop t-foreach 2019-01-30 13:33:37 +01:00
Géry Debongnie c0c7414b18 widget: add t-key option, add better error handling 2019-01-30 11:35:38 +01:00
Géry Debongnie d029f87a0f add notification widget/full system 2019-01-29 16:07:37 +01:00
Géry Debongnie dd75a17448 add test helpers, add navbar tests 2019-01-29 10:48:05 +01:00
Géry Debongnie 2ea569f7aa make widget class generic on props 2019-01-28 21:32:21 +01:00
Géry Debongnie 6ae6ddadc8 implement shouldUpdate method/hook 2019-01-28 16:16:22 +01:00
Géry Debongnie ee255993a8 prevent issue when widget is toggled 2019-01-28 15:53:24 +01:00
Géry Debongnie 851d01b7ad do not destroy and rerender sub widgets if not necessary
add failing test on rerendering sub widgets...
2019-01-28 15:18:16 +01:00
Géry Debongnie 2b27249136 allow dynamic expressions in t-props directive 2019-01-28 12:13:25 +01:00
Géry Debongnie d8c37a2942 handle situation when widget is destroyed before willStart 2019-01-27 21:50:22 +01:00
Géry Debongnie fb6ad6e56b fix: destroying a parent should also destroy its children 2019-01-27 21:08:43 +01:00
Géry Debongnie 9b1841bfa5 properly call willunmount and destroy hooks 2019-01-27 18:25:41 +01:00
Géry Debongnie d40f88cf50 add widget test 2019-01-27 15:12:35 +01:00
Géry Debongnie 37175df9ad change children implementation, remove parented link on destroy 2019-01-27 13:50:53 +01:00
Géry Debongnie 90f30c6c72 make sure env is propagated to child widgets 2019-01-26 20:33:23 +01:00
Géry Debongnie 8488c41b38 move test files in subfolder 2019-01-26 20:23:34 +01:00