All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.polymer.elemental.Element Maven / Gradle / Ivy

The newest version!
package com.vaadin.polymer.elemental;

import static jsinterop.annotations.JsPackage.GLOBAL;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;

@JsType(isNative=true, namespace=GLOBAL)
public interface Element extends Node {

    @JsProperty
    String getInnerHTML();
    @JsProperty
    void setInnerHTML(String s);

    @JsProperty
    String getTextContent();
    @JsProperty
    void setTextContent(String s);

    @JsProperty
    DOMTokenList getClassList();

    @JsProperty
    CSSStyleDeclaration getStyle();

    void setAttribute(String name, Object value);
    String getAttribute(String name);
    boolean hasAttribute(String name);
    void removeAttribute(String name);

     T querySelector(String selector);
    NodeList querySelectorAll(String selector);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy