Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Dynamic Navbar Buttons

$
0
0

@ayyfish1 wrote:

When I use ngIf or ngFor with buttons inside of the navbar, the buttons are styled incorrectly. Their styling is only correct if they are written directly into the html, so they can't be dynamically added. If a button is added programmatically, the button is styled as a normal button rather than a navbar button. Is there a way to fix this?

For example, this issue occurs with the following code:






Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles