Update more examples, add css for more examples
This commit is contained in:
19 files changed
+228
-101
No files matched your search
+7
-1
@@ -1,4 +1,10 @@
|
||||
// Thanks to @japsu and their project https://github.com/japsu/jatsi for the example!
|
||||
//! Thanks to @japsu and their project https://github.com/japsu/jatsi for the example!
|
||||
//!
|
||||
//! This example shows how to create a simple dice rolling app using SVG and Dioxus.
|
||||
//! The `svg` element and its children have a custom namespace, and are attached using different methods than regular
|
||||
//! HTML elements. Any element can specify a custom namespace by using the `namespace` meta attribute.
|
||||
//!
|
||||
//! If you `go-to-definition` on the `svg` element, you'll see its custom namespace.
|
||||
|
||||
use dioxus::prelude::*;
|
||||
use rand::{thread_rng, Rng};
|
||||
|
||||
Reference in new issue
Block a user