com.vaadin.polymer.iron.IronMediaQueryElement Maven / Gradle / Ivy
The newest version!
/*
* This code was generated with Vaadin Web Component GWT API Generator,
* from iron-media-query project by The Polymer Authors
* that is licensed with http://polymer.github.io/LICENSE.txt license.
*/
package com.vaadin.polymer.iron;
import com.vaadin.polymer.elemental.*;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import jsinterop.annotations.JsOverlay;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
/**
* iron-media-query
can be used to data bind to a CSS media query.
The query
property is a bare CSS media query.
The query-matches
property is a boolean representing whether the page matches that media query.
* Example:
* <iron-media-query query="(min-width: 600px)" query-matches="{{queryMatches}}"></iron-media-query>
*
*
*
*/
@JsType(isNative=true)
public interface IronMediaQueryElement extends HTMLElement {
@JsOverlay public static final String TAG = "iron-media-query";
@JsOverlay public static final String SRC = "iron-media-query/iron-media-query.html";
/**
* If true, the query attribute is assumed to be a complete media query
string rather than a single media feature.
*
* JavaScript Info:
* @property full
* @type Boolean
*
*/
@JsProperty boolean getFull();
/**
* If true, the query attribute is assumed to be a complete media query
string rather than a single media feature.
*
* JavaScript Info:
* @property full
* @type Boolean
*
*/
@JsProperty void setFull(boolean value);
/**
* The Boolean return value of the media query.
*
* JavaScript Info:
* @property queryMatches
* @type Boolean
*
*/
@JsProperty boolean getQueryMatches();
/**
* The Boolean return value of the media query.
*
* JavaScript Info:
* @property queryMatches
* @type Boolean
*
*/
@JsProperty void setQueryMatches(boolean value);
/**
* The CSS media query to evaluate.
*
* JavaScript Info:
* @property query
* @type String
*
*/
@JsProperty String getQuery();
/**
* The CSS media query to evaluate.
*
* JavaScript Info:
* @property query
* @type String
*
*/
@JsProperty void setQuery(String value);
/**
*
*
* JavaScript Info:
* @method queryHandler
* @param {} mq
*
*
*/
void queryHandler(Object mq);
/**
*
*
* JavaScript Info:
* @method queryChanged
*
*
*/
void queryChanged();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy