Commit Graph
14 Commits
Author SHA1 Message Date
Evan Almloff d795995e20 Create closure type; allow async event handlers in props; allow short hand event handlers (#2437)
* create closure type; allow async event handlers in props; allow shorthand event handlers

* test forwarding event handlers with the shorthand syntax

* fix clippy

* fix imports in spawn async doctest
2024-06-10 18:47:07 -07:00
Evan Almloff b3cd4fac10 set up example scaping for docs.rs (#2450) 2024-05-28 13:05:55 -07:00
Jonathan Kelley cfc119cce2 Update more examples, add css for more examples 2024-02-14 13:48:58 -08:00
Jonathan Kelley 8f07d881a6 Switch todo!() to unreachable!/unimplemented! where it matters 2024-01-31 16:26:20 -08:00
Evan Almloff e65c5f0eb3 depreciate the render macro 2024-01-16 13:18:46 -06:00
Evan Almloff db35a9b48c add platform specific functions for launching apps for workspaces 2024-01-16 11:45:02 -06:00
Evan Almloff 7e4d2debe0 implement launch builder for the desktop and web platforms 2024-01-16 08:42:16 -06:00
Jonathan Kelley 1dde044697 remove cx.render 2024-01-13 21:12:21 -08:00
Jonathan Kelley fae0b08e61 Fix the router and stub out a number of crates to get compiling 2024-01-13 20:51:37 -08:00
Jonathan Kelley 1527b81e02 Components participate in event handlers 2024-01-11 12:11:27 -08:00
Jonathan Kelley aff5259654 Allow children shorthand in components 2024-01-10 23:52:38 -08:00
Jonathan Kelley 8a77d2560e fix tests around children elements 2024-01-10 23:42:36 -08:00
Jonathan Kelley c5dfbd7913 fix test 2024-01-10 22:52:41 -08:00
Jonathan Kelley fa9d92f956 Fix tests for autofmt 2024-01-10 22:41:40 -08:00