Comments (3)
Hi @abhibly
I opened the console and I saw an error with the syntax
You need to wrap your is-active
with quotes 'is-active'
for it work:
Here's the updated line:
<a href="#starks-panel" id="first" class="mdl-tabs__tab" [ngClass]="{ 'is-active': isOn}">Starks</a>
Let me know if this fixes your issue
from angular-material-design-lite.
@jadjoubran thanks... i updated the code which you gave and it is working...Yesterday i came across with another problem i.e i am trying to implement tab in a tab...Earlier i used to load the tab using jquery which used to work properly but in angular 2 i just placed a tab inside a tab but it is not working as expected...I have created a plunker demo for it and here it is->http://plnkr.co/edit/b0ZAI78iEETkGyNIlzSO?p=preview I am familiar using Mdl with jquery but using Mdl with Angular2 i am experiencing new problems and learning new things.How can it be rectified brother...Please help
from angular-material-design-lite.
Hi @abhibly
You need to manually upgrade the component (second tab) when you want to show it
Check mdl's official docs on upgrading components
Feel free to reply back if it worked or if you're still having issues
from angular-material-design-lite.
Related Issues (20)
- mdl-button-raised to be fusionned with mdl-button HOT 4
- ripple effect applied when button is disabled HOT 5
- material design ng-view issue HOT 3
- Angular mdl input type issue HOT 6
- how do i let it work in template.html when i use the ngRute HOT 2
- mdl-menu ul id="" and for="" Issue in angular HOT 2
- Layout Drawer question HOT 3
- Initial state of checkbox HOT 1
- convert to attribute directives: radio & checkboxes
- convert to attribute directive: buttons
- Angular 2.0 support ? HOT 1
- Npm support? HOT 8
- any progress soon? HOT 3
- ui-view button issue HOT 1
- [REQUEST] MDL Tooltips HOT 1
- componentHandler.upgradeAllRegistered() on ngView HOT 19
- typing error in demo HOT 14
- Switch not responding to model change HOT 5
- mdl-text-field : keep <input> to conserve the possibility to use some attribut as "list" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-material-design-lite.