Base solution for your next web application
Open Closed

How to use bootstrap tab in new component for ng2 #2426


User avatar
0
marklindell created

I'm trying to create a new component and leverage the bootstrap tabset/tab in my template.

I keep getting the error:

**Template parse errors: Can't bind to 'heading' since it isn't a known property of 'tab'. ("

        <tabset class="tab-container tabbable-line">
		    <tab [ERROR ->]heading="{{l('test')}}">**

I looked at admin-roles as an template/example for my new component but have no clue why it's not recognizing the elements.

Is there something specific I need to import?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    We used tabs in some parts of our project. You can take a look at maintenance page, see <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/tree/c2f52042bd74e1d29674b33f4a75dde944441fd2/angular/src/app/admin/maintenance">https://github.com/aspnetzero/aspnet-ze ... aintenance</a>.

    If you cannot find the solution please share your .html and .ts files.

    Thanks.