mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
fix: docs note on style
refers to class
(#1066)
This commit is contained in:
parent
5a67e208fd
commit
2cbf3581c5
1 changed files with 1 additions and 1 deletions
|
@ -807,7 +807,7 @@ impl<El: ElementDescriptor + 'static> HtmlElement<El> {
|
|||
/// Sets a style on an element.
|
||||
///
|
||||
/// **Note**: In the builder syntax, this will be overwritten by the `style`
|
||||
/// attribute if you use `.attr("class", /* */)`. In the `view` macro, they
|
||||
/// attribute if you use `.attr("style", /* */)`. In the `view` macro, they
|
||||
/// are automatically re-ordered so that this over-writing does not happen.
|
||||
#[track_caller]
|
||||
pub fn style(
|
||||
|
|
Loading…
Reference in a new issue