Skip to content

Commit 683380b

Browse files
committed
Re-export Attrs, Style, and Listener
1 parent 0b8d622 commit 683380b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- Added support for `Vec<Attr>` and `Vec<Style>` in view macros.
88
- `App` included in `prelude`.
99
- [BREAKING] Seed refactored to use `async/.await`. `fetch.rs` docs updated.
10+
- Export `Attrs`, `Style`, `Listener`. ie, can import with `seed::Style` etc.
1011

1112
## v0.5.0
1213
- Added helper `seed::canvas()`, and `seed::canvas_context()` helper functions.

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ pub use crate::{
1616
},
1717
browser::service::fetch::{Method, Request},
1818
browser::service::routing::push_route,
19+
browser::virtualDom::{attrs::Attrs, style::Style, listener::Listener},
1920
browser::url::Url,
2021
browser::util::{
2122
self, body, canvas, canvas_context_2d, cookies, document, error, history, html_document,

0 commit comments

Comments
 (0)