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

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

There is a newer version: 1.9.3.1
Show newest version
package com.vaadin.polymer.elemental;

import com.vaadin.polymer.elemental.CSSStyleDeclaration;

import com.google.gwt.core.client.js.JsProperty;
import com.google.gwt.core.client.js.JsType;

@JsType
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 - 2025 Weber Informatics LLC | Privacy Policy