MCPcopy Create free account
hub / github.com/DioxusLabs/dioxus / create_meta

Method create_meta

packages/document/src/document.rs:86–89  ·  view source on GitHub ↗

Create a new meta tag in the head

(&self, props: MetaProps)

Source from the content-addressed store, hash-verified

84
85 /// Create a new meta tag in the head
86 fn create_meta(&self, props: MetaProps) {
87 let attributes = props.attributes();
88 self.create_head_element("meta", &attributes, None);
89 }
90
91 /// Create a new script tag in the head
92 fn create_script(&self, props: ScriptProps) {

Callers

nothing calls this directly

Implementers 8

dioxus_document.rspackages/native-dom/src/dioxus_documen
document.rspackages/desktop/src/document.rs
document.rspackages/fullstack-core/src/document.r
document.rspackages/liveview/src/document.rs
document.rspackages/document/src/document.rs
document.rspackages/fullstack-server/src/document
document.rspackages/web/src/document.rs
contexts.rspackages/native/src/contexts.rs

Calls 2

attributesMethod · 0.45
create_head_elementMethod · 0.45

Tested by

no test coverage detected