leptos::html

Function script

Source
pub fn script() -> HtmlElement<Script, (), ()>
Expand description

The <script> HTML element is used to embed executable code or data; this is typically used to embed or refer to JavaScript code. The <script> element can also be used with other languages, such as WebGL’s GLSL shader programming language and JSON.