summaryrefslogtreecommitdiffstats
path: root/web/src/widget.rs
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/widget.rs')
-rw-r--r--web/src/widget.rs9
1 files changed, 3 insertions, 6 deletions
diff --git a/web/src/widget.rs b/web/src/widget.rs
index 025cf22f..4cb0a9cc 100644
--- a/web/src/widget.rs
+++ b/web/src/widget.rs
@@ -12,8 +12,6 @@
//! ```
//! use iced_web::{button, Button, Widget};
//! ```
-//!
-//! [`Widget`]: trait.Widget.html
use crate::{Bus, Css};
use dodrio::bumpalo;
@@ -26,6 +24,7 @@ pub mod radio;
pub mod scrollable;
pub mod slider;
pub mod text_input;
+pub mod toggler;
mod column;
mod row;
@@ -42,6 +41,8 @@ pub use slider::Slider;
pub use text::Text;
#[doc(no_inline)]
pub use text_input::TextInput;
+#[doc(no_inline)]
+pub use toggler::Toggler;
pub use checkbox::Checkbox;
pub use column::Column;
@@ -56,12 +57,8 @@ pub use space::Space;
///
/// If you want to build your own widgets, you will need to implement this
/// trait.
-///
-/// [`Widget`]: trait.Widget.html
pub trait Widget<Message> {
/// Produces a VDOM node for the [`Widget`].
- ///
- /// [`Widget`]: trait.Widget.html
fn node<'b>(
&self,
bump: &'b bumpalo::Bump,