OLD | NEW |
1 | 1 |
2 | 2 |
3 Polymer({ | 3 Polymer({ |
4 | 4 |
5 is: 'iron-media-query', | 5 is: 'iron-media-query', |
6 | 6 |
7 properties: { | 7 properties: { |
8 | 8 |
9 /** | 9 /** |
10 * The Boolean return value of the media query. | 10 * The Boolean return value of the media query. |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 this._mq.addListener(this._mqHandler); | 48 this._mq.addListener(this._mqHandler); |
49 this.queryHandler(this._mq); | 49 this.queryHandler(this._mq); |
50 }, | 50 }, |
51 | 51 |
52 queryHandler: function(mq) { | 52 queryHandler: function(mq) { |
53 this._setQueryMatches(mq.matches); | 53 this._setQueryMatches(mq.matches); |
54 } | 54 } |
55 | 55 |
56 }); | 56 }); |
57 | 57 |
OLD | NEW |