Commit Graph

160 Commits

Author SHA1 Message Date
Michael Pfaff 61d917a69e
Revert "Use unwrap instead of unwrap_throw so that we get stacktraces"
This reverts commit 6f45e6b774.
2022-05-31 17:09:14 -04:00
Michael Pfaff 6f45e6b774
Use unwrap instead of unwrap_throw so that we get stacktraces 2022-05-26 08:45:35 -04:00
Michael Pfaff c993632102
Update nightly features 2022-05-25 18:54:12 -04:00
Peter Frank 8bc2439caa Implement TouchListIter 2022-05-02 20:02:48 +02:00
Peter Frank 54549992a3 Add touch and submit events 2022-04-28 20:37:19 +01:00
Pauan 623c896d80 Adding in AsStr support for Cow 2022-04-12 10:06:40 -07:00
Alexis Fontaine c0220d3551 Replace deprecated methods 2022-04-10 23:57:51 +02:00
Alexis Fontaine 103691a000 Remove redundant comment on deprecated method 2022-04-10 23:41:33 +02:00
Alexis Fontaine a3fef52cbf Deprecate `property` methods 2022-04-10 23:41:16 +02:00
Alexis Fontaine c54fd7e21e Deprecate `attribute` methods 2022-04-10 23:40:51 +02:00
Ari Seyhun c245fc2263
Support generics in dom builder methods 2022-04-07 15:00:47 +09:30
Pauan c98823b1c4 Removing delta_mode 2022-03-22 12:13:47 -07:00
Pauan a59bf02d59 Replacing unneeded trait with dyn FnOnce 2022-03-22 12:13:09 -07:00
Jomer 58d8e36f5f Remove TODO comment 2022-03-22 20:10:16 +01:00
Jomer cf0bfa2d64 Adds animation events and wheel event 2022-03-21 19:03:11 +01:00
Mendy Berger 6722802d4a Adding pointer and some focus events 2022-03-12 21:34:25 -05:00
Pauan 03b9c9943d Making drag events inherit from mouse events 2021-12-09 19:13:01 +01:00
Pauan ee517bcc44 Adding in mouse events 2021-10-25 10:42:06 +02:00
Pauan e9e9e61ed8 Fixing build errors 2021-10-17 10:49:43 +02:00
Pauan ca54166f10 Adding in event_with_options and global_event_with_options 2021-10-17 10:31:02 +02:00
Pauan 4e2fdd31fe Adding in stop_propagation and stop_immediate_propagation methods to events 2021-09-18 21:36:28 +02:00
Pauan 29083bf288 Adding in style_unchecked and style_unchecked_signal methods 2021-09-18 21:30:52 +02:00
Pauan c87c6018bf Changing style so that it only panics in debug mode 2021-09-18 21:04:54 +02:00
Pauan 28646a7f97 Minor improvements 2021-09-18 20:50:50 +02:00
iMplode nZ 57ca7d9d24 Added repeat property to KeyboardEvent. 2021-09-01 18:11:55 -07:00
iMplode nZ 9acc0e1aa9 Added derives to MouseButton. 2021-08-05 15:49:57 -07:00
Pauan 68c5a9f32a Adding in BeforeInput event 2021-06-21 13:58:49 +02:00
Pauan 4b7455748d Replacing lazy_static with once_cell 2021-05-28 15:18:14 +02:00
Pauan bbc3e3a68e Adding in nightly feature and new events::Event type 2021-05-28 00:17:42 +02:00
Pauan 089a073913 Adding in attr and prop aliases 2021-05-27 23:54:52 +02:00
Pauan 21daff2879 Changing apply_methods/html/svg to run each method call on a separate statement
This means that any locks will be freed at the end of the method call
2021-05-17 09:42:46 +02:00
Pauan f6023aea65 Adding in dom_builder macro 2021-04-30 18:19:16 +02:00
Pauan 2839a51ba9 It now supports multiple dynamic children, by using comment markers 2021-04-30 18:08:29 +02:00
Pauan 3f01f09182 Version 0.5.15 2021-04-30 01:13:37 +02:00
Pauan 1ba7d833f3 Minor improvement 2021-04-30 01:06:36 +02:00
Pauan e096729759 Minor improvement 2021-04-30 00:50:33 +02:00
Pauan 8f3c6788bd Fixing bug where child_signal wouldn't trigger after_removed 2021-04-29 19:59:56 +02:00
Pauan 672af7b3ed Fixing bug where children_signal_vec wouldn't trigger after_removed 2021-04-29 19:44:21 +02:00
Pauan 2d9ae38c9d Making MutableAnimation Clone 2021-04-26 17:08:11 +02:00
Pauan 19dd6fbf1d Deprecating with_state 2021-04-26 16:56:42 +02:00
Pauan 7257d3eac9 Adding in load event 2021-04-26 16:53:05 +02:00
Pauan 13c855f644 Changing child method to accept &mut references 2020-10-26 13:18:36 +01:00
Pauan b7f893e2e2 Adding in drag events 2020-10-20 12:10:07 +02:00
Pauan e7fe4b99a1 Changing events to use capture rather than bubble 2020-08-27 17:22:14 +02:00
Pauan 748326492b Minor improvements 2020-06-02 17:14:10 +02:00
Pauan 4cf6acd71b Replacing pin-utils with pin-project 2020-06-02 14:27:36 +02:00
Pauan 9b1169fb88 It's now possible to have multiple static children 2020-06-02 03:24:31 +02:00
Pauan c498b9e2b1 Minor improvement to the text implementation 2020-06-02 03:08:34 +02:00
Pauan 17e5209e58 Adding in with_cfg macro 2020-05-31 11:47:42 +02:00
Pauan 07ae71cf35 Adding in shadow_root! macro 2020-05-04 23:28:09 +02:00
Pauan 8f12cf15b7 Changing children to use BorrowMut 2020-04-27 07:36:48 +02:00
Pauan 5083e7bdea Updating examples to use Rollup 2020-03-11 14:23:41 +01:00
Pauan 833a3c4ec0 Fixing the unit tests 2020-03-11 13:29:29 +01:00
Pauan 616a7a1baa Adding in global_event_preventable method 2020-01-20 04:40:39 +01:00
Pauan 1c08b3043b Adding in child_signal method 2020-01-08 09:52:00 +01:00
Pauan fa7936455f Changing the implementation of clone and adding in MultiStr impl for 1-sized arrays 2019-10-28 04:40:20 +01:00
Pauan 0af4347abd Adding in cubic beziers for animation 2019-10-14 05:05:15 +02:00
Pauan ca7e827f74 Adding in more event properties 2019-09-23 07:23:38 +02:00
Pauan 9ea243cc13 Adding in some more events 2019-09-23 07:18:18 +02:00
Pauan 63ccea1c50 Fixing build errors 2019-08-29 05:17:47 +02:00
Pauan 88261d875b Minor improvement to the animation implementation 2019-08-29 04:56:06 +02:00
Pauan ae65e7db23 Breaking change: removing some public things which no longer need to be public 2019-08-05 04:07:50 +02:00
Pauan 8a056e9eec Changing stylesheet to accept multiple selectors, and adding in pseudo macro for classes 2019-08-05 03:39:40 +02:00
Pauan 2bed86b49e Adding in link, apply_methods, with_node, and on_click_go_to_url macros 2019-07-31 20:52:04 +02:00
Pauan b4aadeb42b Adding in with_node macro 2019-07-30 23:26:58 +02:00
Pauan 094ad20b51 Minor tweaks 2019-07-23 07:25:27 +02:00
Pauan 6ab63f0ae6 Changing to use wasm-bindgen's intern function 2019-07-23 06:51:40 +02:00
Pauan 1cd3971a81 Improving the TodoMVC example 2019-07-23 04:45:31 +02:00
Pauan 08864347f4 Improving the performance of children_signal_vec 2019-06-23 17:25:41 +02:00
Pauan 3062359534 Changing event system to use interning 2019-06-21 20:58:39 +02:00
Pauan 97b39fa3ee More tweaks to the interning 2019-06-21 13:22:53 +02:00
Pauan 36e0479269 Tweaking interning 2019-06-21 02:29:56 +02:00
Pauan fae50b2401 Adding in interning system for strings 2019-06-21 01:57:47 +02:00
Pauan ec85fef904 Various small improvements 2019-06-20 17:52:52 +02:00
Pauan 787c117584 Removing unneeded lazy_static 2019-06-19 13:27:07 +02:00
Pauan f8d0b13c7d Improving the efficiency of classes 2019-06-16 02:13:53 +02:00
Pauan 02337c2d74 Improving the performance of DOM node creation 2019-06-16 01:59:22 +02:00
Pauan 6fedf2c71a Improving the efficienc of child removal 2019-06-16 01:32:02 +02:00
Pauan 90c6fb01dc Fixing build errors 2019-06-16 01:00:54 +02:00
Pauan e4b2347149 Changing to use document fragments for dynamic child replacement 2019-06-16 00:49:29 +02:00
Pauan e5957b7831 Fixing build errors 2019-06-16 00:12:31 +02:00
Pauan d6917cda84 Improving the efficiency of the text and text_signal methods 2019-06-16 00:10:19 +02:00
Pauan 0e40f2de7b Adding in ContextMenu event 2019-06-15 12:26:12 +02:00
Pauan a7904e27c8 Minor tweaks 2019-06-15 11:23:38 +02:00
Pauan 8e276c3572 Adding in the ability to use macros with the html! (etc.) macros 2019-06-12 16:41:46 +02:00
Pauan e70e499944 Reverting append_dom to take by reference 2019-06-11 18:20:15 +02:00
Pauan 4afde43974 Breaking change: dominator now uses wasm-bindgen rather than stdweb 2019-06-11 15:29:46 +02:00
Pauan 258ef239d8 Updating to work with latest Nightly 2019-04-29 02:30:55 +02:00
Pauan f93cbe5b2e Fixing to work with latest Nightly 2019-03-15 11:07:14 +01:00
Pauan 479cebe800 Updating to latest Nightly 2019-02-16 11:14:49 +01:00
Pauan 2b11203e16 Fixing to work with latest nightly 2019-01-08 11:14:15 +01:00
Pauan de331b2c2e Adding in timestamps_absolute_difference 2018-11-24 11:08:59 -10:00
Pauan f44d0937d1 Fixing the behavior of visible and visible_signal 2018-11-24 10:59:46 -10:00
Pauan af462d41e7 Adding in animation::timestamps_difference function 2018-11-24 10:59:26 -10:00
Pauan 50b7b00f64 Adding in routing::current_url function 2018-11-24 10:58:19 -10:00
Pauan 08f0c85940 Adding in Url and routing 2018-11-01 01:40:31 -10:00
Pauan b0a638eeb8 Adding in apply and apply_if methods 2018-10-29 23:06:22 -10:00
Pauan 6fa0ac5d08 Adding in mixin_if method 2018-10-29 20:57:47 -10:00
Pauan ba3f26eb2b Breaking change: replacing hidden and hidden_signal with visible and visible_signal 2018-10-25 13:44:17 -10:00
Pauan 18295274ad Adding in hidden and hidden_signal methods 2018-10-25 12:31:09 -10:00