Mercurial > hg > ng2-query-ismi
comparison app/query-app.component.ts @ 10:66dce99cef4e
attribute contains works now.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Wed, 20 Jan 2016 17:02:00 +0100 |
parents | fa646ee46c19 |
children | 98b435bb6c0c |
comparison
equal
deleted
inserted
replaced
9:402c7229dc7c | 10:66dce99cef4e |
---|---|
36 this.addQueryStep(); | 36 this.addQueryStep(); |
37 } | 37 } |
38 | 38 |
39 addQueryStep() { | 39 addQueryStep() { |
40 this.querySteps.push({'mode': null}); | 40 this.querySteps.push({'mode': null}); |
41 //this.queryState = this._queryService.getState(); | |
42 } | 41 } |
43 | 42 |
44 removeQueryStep() { | 43 removeQueryStep() { |
44 this.querySteps.pop(); | |
45 this._queryService.state.steps.pop(); | 45 this._queryService.state.steps.pop(); |
46 //this.queryState = this._queryService.getState(); | |
47 } | 46 } |
48 | 47 |
49 onQueryChanged(event: any) { | 48 onQueryChanged(event: any) { |
50 console.debug("app.onquerychanged! event=", event); | 49 console.debug("app.onquerychanged! event=", event); |
51 this._queryService.updateQuery(); | 50 this._queryService.updateQuery(); |