This repository has been archived by the owner on Sep 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
12dbdc1
commit 1340f4e
Showing
8 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<nav id="o-nav-local" role="navigation" class="o-nav-local navbar-light"> | ||
<ul class="container nav"> | ||
<li class="nav-item"><a class="nav-link active" aria-current="page" href="#">Home</a></li> | ||
<li class="nav-item"><a class="nav-link" href="#">Introduction</a></li> | ||
<li class="nav-item"><a class="nav-link" href="#">Usage</a></li> | ||
<li class="nav-item"><a class="nav-link" href="#">References</a></li> | ||
<li class="nav-item"><a class="nav-link" href="#">Shopping</a></li> | ||
<li class="nav-item"><a class="nav-link" href="#">Organisation</a></li> | ||
<li class="nav-item"><a class="nav-link" href="#">Worldwilde</a></li> | ||
<li class="nav-item"><a class="nav-link" href="#">Contact Us</a></li> | ||
</ul> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
declare var $: any; | ||
|
||
@Component ({ | ||
selector: 'demo-priority-nav', | ||
templateUrl: './priority-nav.component.html' | ||
}) | ||
export class DemoPriorityNavComponent implements OnInit { | ||
ngOnInit(){ | ||
$('.o-nav-local').prioritynav(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
information |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'doc-priority-nav', | ||
template: ` | ||
<docs-wrapper component="Priority Nav"> | ||
<p class="mt-4">Check the <a target="_blank" rel="noopener noreferrer" | ||
href="https://boosted.orange.com/docs/4.5/components/priority-nav">boosted's original component documentation</a>.</p> | ||
<h3>Demo</h3> | ||
<div [innerHtml]=docContent></div> | ||
<demo-priority-nav></demo-priority-nav> | ||
<code-box [snippets]="demoSnippets"></code-box> | ||
</docs-wrapper> | ||
` | ||
}) | ||
export class DocPriorityNavComponent { | ||
public docContent = require('html-loader!markdown-loader!./priority-nav.component.md'); | ||
public demoSnippets = { | ||
markup: require('!!prismjs-loader?lang=html!../demos/priority-nav.component.html'), | ||
typescript: require('!!prismjs-loader?lang=typescript!../demos/priority-nav.component.ts') | ||
}; | ||
} |