Commit Graph

135 Commits

Author SHA1 Message Date
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
Pauan ffbc1ddc9a Fixing bug with the with_element method 2018-10-25 11:01:34 -10:00
Pauan ef03e203e0 Adding in missing impls for SvgElement 2018-10-25 10:45:23 -10:00
Pauan add339e640 Adding in Dom::text and Dom::text_signal methods 2018-10-24 23:39:55 -10:00
Pauan 646075b74c Breaking change: upgrading to use Futures 0.3 2018-10-22 14:16:54 -10:00
Pauan 476902616d Breaking change: removing some of the AsStr and MultiStr impls 2018-09-18 11:04:03 -10:00
Pauan f5b2dde273 Re-enabling the slice impls for MultiStr 2018-09-18 00:50:07 -10:00
Pauan 84c38d02a7 Making AsStr more generic (accepting & and &mut) 2018-09-17 11:58:05 -10:00
Pauan ef5a85aa2c Breaking change: renamed DerefFn to RefFn 2018-09-17 11:17:55 -10:00
Pauan bde76d90a4 Adding in Debug implementation for OnTimestampDiff 2018-07-30 14:33:53 -10:00
Pauan 59cce2e850 Breaking change: Mixin is now consumed, which means it works with FnOnce now 2018-07-16 17:26:48 -10:00
Pauan 34709737c8 Breaking change: the builder macros now use method call syntax rather than function call syntax 2018-07-14 13:26:52 -10:00
Pauan 4c0368fd9f Updating to use set_neq 2018-07-14 11:36:50 -10:00
Pauan 777c248d0d Adding in OnTimestampDiff 2018-07-13 12:26:45 -10:00
Pauan b53608f299 Adding in MutableAnimation::current_percentage 2018-07-07 05:21:51 -10:00
Pauan a7d85a6876 Breaking change: changing is_dom_loaded to is_window_loaded 2018-07-04 01:51:39 -10:00
Pauan c422c61758 Adding in is_dom_loaded function 2018-07-04 01:34:13 -10:00
Pauan ffdc651b08 More debugging 2018-07-04 00:19:35 -10:00
Pauan 28c90907be More debugging 2018-07-04 00:14:31 -10:00
Pauan 789d824540 Adding in some debugging code 2018-07-03 23:56:07 -10:00
Pauan 00cd0fab6d Fixing a bug with scroll_left_signal and scroll_top_signal 2018-07-03 17:58:43 -10:00
Pauan 6fcff5c63d Adding in scroll_left_signal and scroll_top_signal 2018-07-03 17:44:50 -10:00
Pauan ee33a8335b Adding in support for setting multiple style names 2018-06-28 07:02:35 -10:00
Pauan c119d1b2ed Fixing the style change detection 2018-06-26 13:18:05 -10:00
Pauan 2a22c75c74 Minor improvements 2018-06-25 15:02:48 -10:00
Pauan f0ea4b1970 It now checks if styles are valid 2018-06-23 07:08:34 -10:00