diff --git a/README.md b/README.md index f811045d6..2f389e68d 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ If you know React, then you already know Dioxus. | File Navigator (Desktop) | Bluetooth scanner (Desktop) | TodoMVC (All platforms) | Widget Gallery | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| ![asd](https://sixtyfps.io/resources/printerdemo_screenshot.png) | ![asd](https://sixtyfps.io/resources/printerdemo_screenshot.png) | ![asd](https://sixtyfps.io/resources/printerdemo_screenshot.png) | ![asd](https://sixtyfps.io/resources/printerdemo_screenshot.png) | +| ![asd](https://sixtyfps.io/resources/printerdemo_screenshot.png) | ![asd](https://sixtyfps.io/resources/printerdemo_screenshot.png) | ![asd](https://github.com/DioxusLabs/todomvc/blob/master/example.png) | ![asd](https://sixtyfps.io/resources/printerdemo_screenshot.png) | diff --git a/packages/html/src/lib.rs b/packages/html/src/lib.rs index c2d824f22..a90e61170 100644 --- a/packages/html/src/lib.rs +++ b/packages/html/src/lib.rs @@ -479,6 +479,7 @@ pub trait GlobalAttributes { /// Specifies the treatment of content that overflows the element's box. overflow: "overflow", + /// Specifies the treatment of content that overflows the element's box horizontally. overflow_x: "overflow-x", @@ -518,6 +519,10 @@ pub trait GlobalAttributes { /// Specifies how an element is positioned. position: "position", + /// The pointer-events CSS property sets under what circumstances (if any) a particular graphic element can + /// become the target of pointer events. + /// + /// MDN: [`pointer_events`](https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events) pointer_events: "pointer-events", /// Specifies quotation marks for embedded quotations. @@ -542,6 +547,7 @@ pub trait GlobalAttributes { /// Specifies the decoration added to text. text_decoration: "text-decoration", + /// Specifies the color of the text_decoration_line. text_decoration_color: "text-decoration-color", @@ -1529,19 +1535,19 @@ builder_constructors! { step: String, tabindex: usize, - // This has a manual implementation below - // r#type: InputType, - - // value: String, width: isize, + + // Manual implementations below... + // r#type: InputType, + // value: String, }; /// Build a /// [`