-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* proxy value pipe test * update sherlock versions * update sherlock version
- Loading branch information
Showing
7 changed files
with
211 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{ | ||
"name": "@politie/ngx-sherlock", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"peerDependencies": { | ||
"@angular/common": ">=6", | ||
"@angular/core": ">=6", | ||
"@politie/sherlock": ">=2.0.0-rc.0", | ||
"@politie/sherlock-rxjs": ">=2.0.0-rc.0" | ||
"@politie/sherlock": ">=3.3.0", | ||
"@politie/sherlock-proxy": ">=3.3.0", | ||
"@politie/sherlock-rxjs": ">=3.3.0" | ||
}, | ||
"contributors": [ | ||
"Paco van der Linden <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
<h2>Using <code>value</code> pipe</h2> | ||
<p>Time is: <time>{{ clock.baseClock$ | value }}</time> (updating every second)</p> | ||
<p>Time is: <time class="base-clock">{{ clock.baseClock$ | value }}</time> (updating every second)</p> | ||
<p> | ||
<label for="interval">Interval: </label><input type="number" name="interval" id="interval" [ngModel]="clock.seconds$ | value" (ngModelChange)="clock.seconds$.value = $event"> | ||
seconds</p> | ||
<p>Time is: <time>{{ clock.intervalClock$ | value }}</time> (updating every {{ clock.seconds$ | value }} second(s))</p> | ||
<label for="interval">Interval: </label><input type="number" name="interval" id="interval" [ngModel]="clock.seconds$ | value" | ||
(ngModelChange)="clock.seconds$.value = $event"> | ||
seconds | ||
</p> | ||
<p>Time is: <time>{{ clock.intervalClock$ | value }}</time> (updating every {{ clock.seconds$ | value }} second(s))</p> | ||
<p>Proxy time is: <time class="base-clock">{{ clock.proxyClock.base | value }}</time> (updating every second)</p> | ||
<p> | ||
<label for="interval">Proxy interval: </label><input type="number" name="interval" id="interval" [ngModel]="clock.proxyClock.seconds | value" | ||
(ngModelChange)="clock.proxyClock.seconds.value = $event"> | ||
seconds | ||
</p> | ||
<p>Proxy time is: <time>{{ clock.proxyClock.intervalClock | value }}</time> (updating every {{ clock.proxyClock.seconds | value }} second(s))</p> |