Commit Graph

90 Commits

Author SHA1 Message Date
Michael Pfaff 6f45e6b774
Use unwrap instead of unwrap_throw so that we get stacktraces 2022-05-26 08:45:35 -04: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
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 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
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 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 19dd6fbf1d Deprecating with_state 2021-04-26 16:56:42 +02:00
Pauan 13c855f644 Changing child method to accept &mut references 2020-10-26 13:18:36 +01: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 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 63ccea1c50 Fixing build errors 2019-08-29 05:17:47 +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 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 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 a7904e27c8 Minor tweaks 2019-06-15 11:23:38 +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 2b11203e16 Fixing to work with latest nightly 2019-01-08 11:14:15 +01:00
Pauan f44d0937d1 Fixing the behavior of visible and visible_signal 2018-11-24 10:59:46 -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 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 777c248d0d Adding in OnTimestampDiff 2018-07-13 12:26:45 -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 f0ea4b1970 It now checks if styles are valid 2018-06-23 07:08:34 -10:00
Pauan 316e49e377 Breaking change: AsStr and AsOptionStr are now IntoStr and IntoOptionStr 2018-06-22 07:04:08 -10:00
Pauan 746d5308e6 Adding in more implementations for AsStr and AsOptionStr 2018-06-13 13:48:41 -10:00
Pauan 4d3f936824 Adding in with_element method 2018-06-11 21:33:10 -10:00
Pauan 7a32acd6d0 Adding in HIGHEST_ZINDEX 2018-06-11 21:06:51 -10:00
Pauan b203b0e030 Some minor performance improvements 2018-06-09 08:45:41 -10:00
Pauan 3082edde66 Adding in SVG support 2018-05-24 00:22:47 -10:00
Pauan 47a6641495 Adding in Dom::new and DomBuilder::before_inserted 2018-05-19 23:53:42 -10:00
Pauan b72cbf5ec6 A lot of breaking changes, improvements, etc. 2018-04-25 13:01:52 -10:00
Pauan f3eff1f088 Exporting some stuff from stdweb 2018-03-18 08:49:40 -10:00
Pauan 072708b36a Changing to use the futures-signals crate 2018-03-18 06:11:52 -10:00
Pauan ed137a5aa1 Changing timestamps to use Rc + RefCell rather than Arc + Mutex 2018-03-16 03:40:18 -10:00
Pauan 4c25472712 Changing to use a Rust queue for the animations 2018-03-15 20:50:21 -10:00
Pauan dc877f0aa3 Adding in working animations 2018-03-15 00:54:18 -10:00
Pauan 8d1395d293 Major restructuring 2018-02-25 01:58:20 -10:00
Pauan 34b7d6147e Fixing the map_rc macro 2018-02-23 18:14:25 -10:00
Pauan 34b22c60f8 Adding in Map2 and map_rc macro 2018-02-23 16:50:03 -10:00
Pauan e7e22f3b21 Adding in DomChildren implementation for Signal 2018-02-20 22:08:36 -10:00
Pauan 874832e82b Initial commit 2018-02-20 20:37:09 -10:00