mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
Add datetime attribute to time element (#590)
This commit is contained in:
parent
ab10d327ac
commit
b51abd1a9c
1 changed files with 3 additions and 1 deletions
|
@ -504,7 +504,9 @@ builder_constructors! {
|
|||
/// Build a
|
||||
/// [`<time>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time)
|
||||
/// element.
|
||||
time {};
|
||||
time {
|
||||
datetime: Datetime,
|
||||
};
|
||||
|
||||
/// Build a
|
||||
/// [`<u>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u)
|
||||
|
|
Loading…
Reference in a new issue