Commit 3da4d24 1 parent 3813c20 commit 3da4d24 Copy full SHA for 3da4d24
File tree 5 files changed +1047
-0
lines changed
5 files changed +1047
-0
lines changed Original file line number Diff line number Diff line change 1
1
bower_components *
2
2
bower- * .json
3
+ node_modules
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ sudo: required
3
3
before_script :
4
4
- npm install -g polymer-cli
5
5
- polymer install --variants
6
+ - >-
7
+ npm run update-types && git diff --exit-code || (echo -e
8
+ '\n\033[31mERROR:\033[0m Typings are stale. Please run "npm run
9
+ update-types".' && false)
6
10
env :
7
11
global :
8
12
- secure : >-
Original file line number Diff line number Diff line change
1
+ /**
2
+ * DO NOT EDIT
3
+ *
4
+ * This file was automatically generated by
5
+ * https://github.com/Polymer/gen-typescript-declarations
6
+ *
7
+ * To modify these typings, edit the source file(s):
8
+ * iron-media-query.html
9
+ */
10
+
11
+ /// <reference path="../polymer/types/polymer.d.ts" />
12
+
13
+ /**
14
+ * `iron-media-query` can be used to data bind to a CSS media query.
15
+ * The `query` property is a bare CSS media query.
16
+ * The `query-matches` property is a boolean representing whether the page matches that media query.
17
+ *
18
+ * Example:
19
+ *
20
+ * <iron-media-query query="(min-width: 600px)" query-matches="{{queryMatches}}"></iron-media-query>
21
+ */
22
+ interface IronMediaQueryElement extends Polymer . Element {
23
+
24
+ /**
25
+ * The Boolean return value of the media query.
26
+ */
27
+ readonly queryMatches : boolean | null | undefined ;
28
+
29
+ /**
30
+ * The CSS media query to evaluate.
31
+ */
32
+ query : string | null | undefined ;
33
+
34
+ /**
35
+ * If true, the query attribute is assumed to be a complete media query
36
+ * string rather than a single media feature.
37
+ */
38
+ full : boolean | null | undefined ;
39
+ _boundMQHandler : ( p0 : MediaQueryList | null ) => any ;
40
+ _mq : MediaQueryList | null ;
41
+ attached ( ) : void ;
42
+ detached ( ) : void ;
43
+ _add ( ) : void ;
44
+ _remove ( ) : void ;
45
+ queryChanged ( ) : void ;
46
+ queryHandler ( mq : any ) : void ;
47
+ }
48
+
49
+ interface HTMLElementTagNameMap {
50
+ "iron-media-query" : IronMediaQueryElement ;
51
+ }
You can’t perform that action at this time.
0 commit comments