@JsType(isNative=true) public class Document extends Object
| Constructor and Description |
|---|
Document() |
| Modifier and Type | Method and Description |
|---|---|
HTMLElement |
createElement(String element) |
HTMLBodyElement |
getBody() |
HTMLElement |
getElementsByTagName(String body) |
StyleSheetList |
getStyleSheets() |
Element |
querySelector(String selector) |
NodeList |
querySelectorAll(String selector) |
public Document()
public HTMLElement createElement(String element)
public HTMLElement getElementsByTagName(String body)
@JsProperty public HTMLBodyElement getBody()
public Element querySelector(String selector)
public NodeList querySelectorAll(String selector)
@JsProperty public StyleSheetList getStyleSheets()
Copyright © 2017. All rights reserved.