@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, setTextaccesskey, 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, translatepublic 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)
HtmlElementid in class HtmlElementid - The new value for this attribute.public Script text(Object text)
HtmlElementRawTexttext in class HtmlElementRawTexttext - The text node to add to this element.Copyright © 2018 Apache. All rights reserved.