Struct leptos_meta::HtmlPropsBuilder
source · pub struct HtmlPropsBuilder<TypedBuilderFields = ((), (), ())> { /* private fields */ }
Expand description
Builder for HtmlProps
instances.
See HtmlProps::builder()
for more info.
Implementations§
source§impl<__dir, __class> HtmlPropsBuilder<((), __dir, __class)>
impl<__dir, __class> HtmlPropsBuilder<((), __dir, __class)>
sourcepub fn lang(
self,
lang: impl Into<TextProp>
) -> HtmlPropsBuilder<((Option<TextProp>,), __dir, __class)>
pub fn lang( self, lang: impl Into<TextProp> ) -> HtmlPropsBuilder<((Option<TextProp>,), __dir, __class)>
lang: impl
Into<TextProp>
The lang
attribute on the <html>
.
source§impl<__lang, __class> HtmlPropsBuilder<(__lang, (), __class)>
impl<__lang, __class> HtmlPropsBuilder<(__lang, (), __class)>
sourcepub fn dir(
self,
dir: impl Into<TextProp>
) -> HtmlPropsBuilder<(__lang, (Option<TextProp>,), __class)>
pub fn dir( self, dir: impl Into<TextProp> ) -> HtmlPropsBuilder<(__lang, (Option<TextProp>,), __class)>
dir: impl
Into<TextProp>
The dir
attribute on the <html>
.
source§impl<__lang, __dir> HtmlPropsBuilder<(__lang, __dir, ())>
impl<__lang, __dir> HtmlPropsBuilder<(__lang, __dir, ())>
sourcepub fn class(
self,
class: impl Into<TextProp>
) -> HtmlPropsBuilder<(__lang, __dir, (Option<TextProp>,))>
pub fn class( self, class: impl Into<TextProp> ) -> HtmlPropsBuilder<(__lang, __dir, (Option<TextProp>,))>
class: impl
Into<TextProp>
The class
attribute on the <html>
.