Ryan G
e87bc3db20
Send a LoopDestroyed event when the browser is closed ( #1155 )
...
* Add the plumbing for handling browser closes
* Implement the business logic for handling closes
2019-09-11 11:47:03 -04:00
Héctor Ramón
dbdde3d781
Stop appending canvas to document in web platform ( #1089 )
...
* Stop appending canvas to document in web platform
* Remove `tabindex` TODO in web backend
* Return `OsError` instead of panicking on web canvas creation
2019-08-08 14:51:41 -07:00
Ryan G
e897d70733
Bump the stdweb version to 0.4.18 ( #1049 )
...
This removes the need to patch to a git version
2019-07-16 21:56:58 -06:00
Ryan Goldstein
fe12996382
Update the web backend todo list
2019-07-16 20:00:03 -07:00
Héctor Ramón
7b23d190b1
Fix web
errors ( #1040 )
...
* Fix old `use` declarations
* Fix hidden lifetime parameter
* Fix missing methods in `web::Monitor`.
Originally fixed by @ryanisaacg in 94387c4bf5bca35f4e24562ce89a4f4badd53aa8.
* Disable some tests and examples on `wasm32`
2019-07-10 18:54:54 -04:00
Héctor Ramón Jiménez
5cc84f32db
Improve feature names to enable web backends
2019-07-01 20:43:54 +02:00
Héctor Ramón Jiménez
e89674d337
Add dyn
keyword where necessary
2019-07-01 20:23:42 +02:00
Héctor Ramón Jiménez
de120280e3
Fix mouse release/press events
2019-06-29 17:48:22 +02:00
Héctor Ramón Jiménez
7f2ba0ee3e
Fix set_cursor_icon
2019-06-29 17:48:01 +02:00
Héctor Ramón Jiménez
bb285984da
Implement stdweb
backend for web
platform
2019-06-27 00:02:46 +02:00
Héctor Ramón Jiménez
1596cc5d9e
Avoid leaking implementation details in Canvas
API
2019-06-25 21:36:24 +02:00
Héctor Ramón Jiménez
8f66d96915
Support ReceivedCharacter
event
2019-06-25 21:18:11 +02:00
Héctor Ramón Jiménez
8ad078b964
Implement keyboard and blur/focus events
2019-06-25 21:01:13 +02:00
Héctor Ramón Jiménez
d5368d7979
Implement Canvas::request_redraw
2019-06-25 18:39:41 +02:00
Héctor Ramón Jiménez
9c5657b86c
Remove Canvas
when dropped
2019-06-25 18:19:22 +02:00
Héctor Ramón Jiménez
b79089ea57
Implement web_sys::Canvas
event listeners
2019-06-25 18:07:47 +02:00
Héctor Ramón Jiménez
c5703eb00a
Draft web
platform structure
2019-06-25 03:15:34 +02:00