Angular2 - How To Use An Or Statement?
So I am working with active routes in order to manipulate a menu: My menu looks like this:
Solution 1:
You can use indexOf method of array like this:
[" link1'<="" span="">,'link2','link3'].indexOf(currentPath) > -1
Solution 1:
You can use indexOf method of array like this:
[" link1'<="" span="">Solution 2:
You can use indexOf method of array like this:
[" link1'<="" span="">Solution 2:
Post a Comment for "Angular2 - How To Use An Or Statement?"