Exclusive Clothing Sale On Flipkart

Get up to 50% off on our latest collection.

Shop Now
Showing posts with label Angular unit test case Tutorials. Show all posts
Showing posts with label Angular unit test case Tutorials. Show all posts

Angular Unit test on property binding

  Unit test on property binding


Interpolation is a special syntax that Angular converts into property binding (pair of square bracket). It's a convenient alternative to property binding. 

Another major difference is that to set an element property to a non-string data value, we must use property binding.

Please see below video for writing angular unit test



Angular Unit test on interpolation

 Angular Unit test on interpolation


Interpolation is a technique that allows the user to bind a value to a UI element. Interpolation binds the data one-way. This means that when value of the field bound using interpolation changes, it is updated in the page as well. It cannot change the value of the field.

Return type of interpolation is always a string.


Please see below video for writing angular unit test





Exclusive Clothing Sale On Flipkart

Get up to 50% off on our latest collection.

Shop Now