diff options
author | 2020-02-06 00:28:25 +0100 | |
---|---|---|
committer | 2020-02-06 00:28:25 +0100 | |
commit | ce45ecc23546efd85f04a76fcb1a3a691d259129 (patch) | |
tree | b4a16e6e9e59285eadbf7df432a60c40cd1a568b /web | |
parent | 9a7f7bfdf5afa329a60beab6556d739cf5d19b50 (diff) | |
download | iced-ce45ecc23546efd85f04a76fcb1a3a691d259129.tar.gz iced-ce45ecc23546efd85f04a76fcb1a3a691d259129.tar.bz2 iced-ce45ecc23546efd85f04a76fcb1a3a691d259129.zip |
Expose missing widget modules in `iced_web`
Diffstat (limited to 'web')
-rw-r--r-- | web/src/widget.rs | 6 | ||||
-rw-r--r-- | web/src/widget/checkbox.rs | 1 | ||||
-rw-r--r-- | web/src/widget/container.rs | 1 | ||||
-rw-r--r-- | web/src/widget/radio.rs | 1 | ||||
-rw-r--r-- | web/src/widget/text_input.rs | 3 |
5 files changed, 9 insertions, 3 deletions
diff --git a/web/src/widget.rs b/web/src/widget.rs index 3192a767..e5481243 100644 --- a/web/src/widget.rs +++ b/web/src/widget.rs @@ -18,15 +18,15 @@ use crate::{Bus, Css}; use dodrio::bumpalo; pub mod button; +pub mod checkbox; +pub mod container; pub mod image; +pub mod radio; pub mod scrollable; pub mod slider; pub mod text_input; -mod checkbox; mod column; -mod container; -mod radio; mod row; mod space; mod text; diff --git a/web/src/widget/checkbox.rs b/web/src/widget/checkbox.rs index d1d30048..7c7b805c 100644 --- a/web/src/widget/checkbox.rs +++ b/web/src/widget/checkbox.rs @@ -1,3 +1,4 @@ +//! Show toggle controls using checkboxes. use crate::{Bus, Color, Css, Element, Widget}; use dodrio::bumpalo; diff --git a/web/src/widget/container.rs b/web/src/widget/container.rs index 55995795..43d9abf7 100644 --- a/web/src/widget/container.rs +++ b/web/src/widget/container.rs @@ -1,3 +1,4 @@ +//! Decorate content and apply alignment. use crate::{bumpalo, css, Align, Bus, Css, Element, Length, Widget}; /// An element decorating some content. diff --git a/web/src/widget/radio.rs b/web/src/widget/radio.rs index 4570639c..e8721cee 100644 --- a/web/src/widget/radio.rs +++ b/web/src/widget/radio.rs @@ -1,3 +1,4 @@ +//! Create choices using radio buttons. use crate::{Bus, Color, Css, Element, Widget}; use dodrio::bumpalo; diff --git a/web/src/widget/text_input.rs b/web/src/widget/text_input.rs index 1fea787a..2b22b93f 100644 --- a/web/src/widget/text_input.rs +++ b/web/src/widget/text_input.rs @@ -5,6 +5,9 @@ //! [`TextInput`]: struct.TextInput.html //! [`State`]: struct.State.html use crate::{bumpalo, css, Bus, Css, Element, Length, Widget}; + +pub use iced_style::text_input::{Style, StyleSheet}; + use std::rc::Rc; /// A field that can be filled with text. |