Topic: mdbRippleRadius attribute of button not working
dante jackson free asked 7 years ago
dante jackson free answered 7 years ago
Dawid Adach pro commented 7 years ago
Dear Dante, unfortunately it's difficult to let what can cause that error without looking into code. Please check generated code with inspector (i.e. using Chrome) or start with my simple exmaple and try to enhance it step by step with loading data from API and see which step is breaking.Dawid Adach pro answered 7 years ago
Dear Dante,
I've just created small loop , please use following syntax:
.html:
<button *ngFor="let button of buttons;" type="button" class="btn btn-primary waves-light" mdbRippleRadius>{{button.name}}</button>
.ts:
buttons:Array<any> = [ {name: 'Button 1'}, {name: 'Button 2'} ];
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No