Knock out js Short hands
Knock out JS short hand properties.
You can use
1. this.knockoutProperty /= value;
instead this.knockoutProperty(this.knockoutProperty() / value)
2. this.knockoutProperty *= value;
instead this.knockoutProperty(this.knockoutProperty() * value)
3. this.knockoutProperty -= value;
instead this.knockoutProperty(this.knockoutProperty() - value)
4. this.knockoutProperty += value;
instead this.knockoutProperty(this.knockoutProperty() + value)
Please like , share and subscribe.
Comments
Post a Comment