docs: update readme

This commit is contained in:
Jonathan Kelley committed 2021-10-12 02:00:09 -04:00
1 parent 478255f40d
commit 285b33dd38
2 files changed
+15 -8

No files matched your search

+1 -1
View File
@@ -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) |
+14 -7
View File
@@ -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
/// [`<label>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label)
/// element.
label {
// r#for: Id,
form: Id,
// r#for: Id,
};
/// Build a
@@ -1577,10 +1583,11 @@ builder_constructors! {
disabled: Bool,
label: String,
// defined below
// selected: Bool,
value: String,
// defined below
// selected: Bool,
};
/// Build a