1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update polymer components

This commit is contained in:
Luke Pulverenti 2015-10-28 16:56:25 -04:00
parent 0320ad7256
commit 3c08769c6c
29 changed files with 961 additions and 844 deletions

View file

@ -49,6 +49,15 @@ Example:
type: String,
observer: 'queryChanged'
},
/**
* If true, the query attribute is assumed to be a complete media query
* string rather than a single media feature.
*/
full: {
type: Boolean,
value: false
},
/**
* @type {function(MediaQueryList)}
@ -94,7 +103,7 @@ Example:
if (!query) {
return;
}
if (query[0] !== '(') {
if (!this.full && query[0] !== '(') {
query = '(' + query + ')';
}
this._mq = window.matchMedia(query);