Last active
May 12, 2021 12:02
-
-
Save Polyterative/9a29d752584012547835a65353db005b to your computer and use it in GitHub Desktop.
Allows to declare anglar variables in the template to unify subscriptions for example
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
<div *ngIf='{ | |
userActions:(dataService.userActions$|async) | |
} as globalBag' | |
> | |
<ng-container *ngIf='{ | |
timepointCount:(globalBag.timePoints.length), | |
widthObject:({"width.%": globalBag.zoomValue+""}) | |
}as lowerBag' | |
> | |
{{globalBag.userActions|json}} | |
</ng-container> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment