skip to Main Content

How to add the content `…<span class="sr-only">(current)</span></a>` into the HTML link when using Angular 2 **routerLink**? – Twitter bootstrap

Just wanting to know how include <span class="sr-only">(current)</span> on my clicked active link when using Angular 2 routerLink? Example: <ul class="nav nav-sidebar"> <li routerLinkActive="active"> <a routerLink="/dashboard">Dashboard <span class="sr-only">(current)</span></a> </li> <li> <a href="">Registers</a> </li> <li routerLinkActive="active"> <a routerLink="/organizations">Organizations</a> </li> </ul> Sources:…

VIEW QUESTION

Facebook api – Angular2 get url query parameters

I'm setting up a Facebook registration for my Angular2 web app. Once the application accepted via Facebook (after being redirected to the Facebook authorization page), it redirect to my webapp with the token and code as url params: http://localhost:55976/?#access_token=MY_ACCESS_TOKEN&code=MY_CODE But…

VIEW QUESTION

Twitter embedded for Angular 2 – Twitter bootstrap

I tried to embed Twitter timeline to my Angular 2 app. I followed this tutorial https://publish.twitter.com then I had this <a class="twitter-timeline" href="https://twitter.com/TwitterDev">Tweets by TwitterDev</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> I put a tag into template and put script tag into…

VIEW QUESTION
Back To Top
Search