Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submodules and components #9

Merged
merged 8 commits into from
Nov 24, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions src/app/tutorials/tutorials.component.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
<div class="container-fluid">
<div class="Tutorials-container container-fluid">
<fieldset>
<legend>TutorialsComponent</legend>
<div>
Tutorials
<div class="row">
<div class="col-2">
<ul class="Tutorials-menu">
<li>
<a routerLink="/tutorials/input" [routerLinkActive]="'active'">@Input</a>
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use routerLinkActive to bind a class name that is going to be set on the element if the current route match the routerLink

</li>
</ul>
</div>
<div class="col-10">
<div class="container-fluid">
<router-outlet></router-outlet>
</div>
</div>
</div>
</fieldset>
</div>