watch scope
See original GitHub issueProbably not an issue but a caveat or I’m doing something wrong. Inside watch function type of (this) is Vue so I have to do something like this or it won’t compile:
// Watched class property @Watch plus declaration and initiation
@Watch(function (newValue, oldValue) {
let self = <AddressComponent>this;
if (newValue == 0)
self.isNewAddress = true;
else
self.isNewAddress = false;
})
selectedBillingAddress: string = undefined;
also data and watched members must be initialized.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
About Watch-O-Scope - Watch Timing System
Watch -O-Scope is a Windows software program for diagnosing, testing, and regulating mechanical watches. It is based on the same concepts as stand-alone ......
Read more >Lepsi Watch Scope - Hands On Review - Fratello Watches
The Lepsi Watch Scope measures a number of vital signs, like accuracy, beat error, amplitude etc. Below, our hands-on review of the Lepsi ......
Read more >Lepsi - Watch Scope - WT Shop
The Lepsi Watch Scope is a high-performance accessory that can effectively measure the accuracy of your timepiece. It is especially simple to use...
Read more >Lepsi Watch Scope (Review) – Watch Analyzer In The ...
The Watch Scope is basically a little round case that holds a microphone, which – through a jack plug cable – connects to...
Read more >LEPSI - Watch Scope on the App Store - Apple
... see screenshots, and learn more about LEPSI - Watch Scope. Download LEPSI - Watch Scope and enjoy it on your iPhone, iPad,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Shipped in 0.6.0!
Watching on this issue… Using
this.$watch
inmounted()
until new TS release…