@Bean(typeName="script") public class Script extends HtmlElementRawText
Constructor and Description |
---|
Script() |
Modifier and Type | Method and Description |
---|---|
Script |
_class(String _class)
class attribute.
|
Script |
async(Object async)
async attribute.
|
Script |
charset(String charset)
charset attribute.
|
Script |
crossorigin(String crossorigin)
crossorigin
attribute.
|
Script |
defer(Object defer)
defer attribute.
|
Script |
id(String id)
id attribute.
|
Script |
src(Object src)
src attribute.
|
Script |
text(Object text)
Sets the text node on this element.
|
Script |
type(String type)
type attribute.
|
getText, setText
accesskey, attr, attrUri, contenteditable, deminimize, dir, getAttr, getAttr, getAttrs, hidden, lang, onabort, onblur, oncancel, oncanplay, oncanplaythrough, onchange, onclick, oncuechange, ondblclick, ondurationchange, onemptied, onended, onerror, onfocus, oninput, oninvalid, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onpause, onplay, onplaying, onprogress, onratechange, onreset, onresize, onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit, onsuspend, ontimeupdate, ontoggle, onvolumechange, onwaiting, setAttrs, spellcheck, style, tabindex, title, toString, translate
public Script()
public final Script charset(String charset)
Character encoding of the external script resource.
charset
- The new value for this attribute.public final Script crossorigin(String crossorigin)
How the element handles cross-origin requests.
crossorigin
- The new value for this attribute.public final Script src(Object src)
Address of the resource.
The value can be of any of the following types: URI
, URL
, String
.
Strings must be valid URIs.
URIs defined by UriResolver
can be used for values.
public final Script type(String type)
Type of embedded resource.
type
- The new value for this attribute.public final Script _class(String _class)
HtmlElement
_class
in class HtmlElement
_class
- The new value for this attribute.public final Script id(String id)
HtmlElement
id
in class HtmlElement
id
- The new value for this attribute.public Script text(Object text)
HtmlElementRawText
text
in class HtmlElementRawText
text
- The text node to add to this element.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.