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

js.web.cssom.CSSNamespaceRule Maven / Gradle / Ivy

package js.web.cssom;

import org.teavm.jso.JSBody;
import org.teavm.jso.JSProperty;

/**
 * An object representing a single CSS @namespace at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE).
 */
public interface CSSNamespaceRule extends CSSRule {
    @JSBody(script = "return CSSNamespaceRule.prototype")
    static CSSNamespaceRule prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return new CSSNamespaceRule()")
    static CSSNamespaceRule create() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSProperty
    String getNamespaceURI();

    @JSProperty
    String getPrefix();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy