Commit Graph

4 Commits

Author SHA1 Message Date
Kaur Kuut ceb7f06b51
Sync Masonry's `.gitignore` with the repo's `.gitignore`. (#272)
The general editor/OS ignore filters are useful across the repo.

Fixees one of the Masonry specific snapshot filters, which was broken
due to a copy-paste accident.
2024-05-06 06:25:39 +00:00
Nico Burns c439885866
Implement `TaffyLayout` widget (#140)
* Fix text widget layout invalidation

* Gitignore .DS_Store files

* Add downcast_ref method to Pod

* Add compute_max_intrinsic method to Pod

Implement compute_max_intrinsic for Box<dyn AnyWidget>

* Add TaffyLayout view and widget

* Add background_color support to TaffyLayout

* Add taffy example
2023-11-28 15:26:48 +00:00
Raph Levien 1fd1ce7885 Add wasm DOM implementation for xilem.
I'm doing all the work in a single commit so it's easier to rebase.

Below is a list of the individual changes I did

 - Squash prev commits
 - Remove top-level action handler (use Adapt instead).
 - Type events in the same way as elements (could also do attributes the
   same)
 - Allow users to avoid compiling the typed html/attributes/events
 - Use more specific types for mouse events from web_sys
 - change "click" from PointerEvent to MouseEvent (PointerEvent caused a
   panic on `dyn_into().unwrap()`)
2023-06-25 19:42:02 +01:00
Daniel McNab d62cfc4e66 Create gitignore and use valid dependency 2022-11-16 21:59:20 +00:00