zxey
|
f8ee25306c
|
Add actix embed example
Fixes #53
|
2019-09-25 14:54:13 +02:00 |
|
Sam Green
|
4e7378a653
|
Add fluent dialog API with example.
|
2018-11-22 20:52:35 +00:00 |
|
Sam Green
|
8a5d2dda0d
|
Implement run method for builder. Use in examples.
|
2018-11-22 20:52:35 +00:00 |
|
Sam Green
|
09f403fd93
|
Use convenience builder function in examples.
|
2018-11-22 20:52:35 +00:00 |
|
Sam Green
|
d5f9f284e3
|
Rewrite to use builder pattern. Fix dispatch unsafety. (#36)
* Major rewrite.
- Fix unsafety (require 'static bound on dispatched closure)
- Switch to builder pattern.
- Run rustfmt
- Fix clippy warnings
- Userdata borrowed from webview instead of being arg of dispatch closure
- Bump minor version
- Update webview
- Add crate-level doc
* Add rustfmt.toml
* Allow propagation of errors from invoke and dispatch closures.
* Refine doc comments.
* Add enum derives.
* Remove mut bound from `handle()`.
* Remove dependency on failure.
|
2018-11-10 20:16:12 +00:00 |
|
Julian Pistorius
|
e81f0c397c
|
Problem: No Elm example
Solution: Add simple Elm 'counter' example
Elm counter example copied from https://github.com/evancz/guide.elm-lang.org
|
2018-08-28 21:31:53 -07:00 |
|
Aaron Weiss
|
8f5caf2db6
|
Add support for webview_set_title and use it in todo example.
|
2018-07-12 10:23:19 +02:00 |
|
Aaron Weiss
|
db9e4babc5
|
Add support for webview_set_color and use it in todo example.
|
2018-07-11 22:00:54 +02:00 |
|
zxey
|
69519d102b
|
Implement Content enum
Content enum allows us to pass url or html content easily to webview
without the need to encode the passed string beforehand.
|
2018-04-08 02:44:46 +02:00 |
|
Paweł Zmarzły
|
f971baecbb
|
make timer example less confusing by renaming one of userdata variables
|
2018-02-03 19:25:37 +01:00 |
|
Boscop
|
49846c9dea
|
made init callback FnOnce and dispatch callback generic over WebView lifetime
(uses webview.h from zserge/webview#5a16d33)
|
2018-02-01 16:14:28 +01:00 |
|
Boscop
|
35db78e04f
|
added examples/todo-ps/dist/bundle.html so that the example builds out of the box
|
2018-01-23 00:12:33 +01:00 |
|
Boscop
|
fe545f23ce
|
use new package name for repo
|
2018-01-22 00:07:03 +01:00 |
|
Boscop
|
d059d895dc
|
renamed package to web-view because of naming conflict
|
2018-01-21 23:37:27 +01:00 |
|
Boscop
|
82599e65d6
|
simplify examples by using urlencoding::encode(html) instead of url::percent_encoding::utf8_percent_encode(html, PATH_SEGMENT_ENCODE_SET)
|
2018-01-21 13:27:16 +01:00 |
|
Boscop
|
46d4162bee
|
untracked ps build output folder
|
2018-01-21 07:52:57 +01:00 |
|
Boscop
|
450b215f2c
|
import
|
2018-01-21 07:36:31 +01:00 |
|