File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ declare type Selector = any
77
88declare interface BaseWrapper { // eslint-disable-line no-undef
99 at ( index : number ) : Wrapper | void ,
10+ attributes ( ) : { [ name : string ] : string } | void ,
11+ classes ( ) : Array < string > | void ,
1012 contains ( selector : Selector ) : boolean | void ,
1113 emitted ( event ? : string ) : { [ name : string ] : Array < Array < any >> } | Array < Array < any >> | void ,
1214 emittedByOrder ( ) : Array < { name : string ; args: Array < any > } > | void ,
@@ -22,6 +24,7 @@ declare interface BaseWrapper { // eslint-disable-line no-undef
2224 isEmpty ( ) : boolean | void ,
2325 isVueInstance ( ) : boolean | void ,
2426 name ( ) : string | void ,
27+ props ( ) : { [ name : string ] : any } | void ,
2528 text ( ) : string | void ,
2629 setData ( data : Object ) : void ,
2730 setComputed ( computed : Object ) : void ,
Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ interface BaseWrapper {
4040 contains ( selector : Selector ) : boolean
4141 exists ( ) : boolean
4242
43+ attributes ( ) : { [ name : string ] : string } | void
44+ classes ( ) : Array < string > | void
45+ props ( ) : { [ name : string ] : any } | void
46+
4347 hasAttribute ( attribute : string , value : string ) : boolean
4448 hasClass ( className : string ) : boolean
4549 hasProp ( prop : string , value : any ) : boolean
You can’t perform that action at this time.
0 commit comments