mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 04:25:08 +00:00
Remove unnecessary input binding from sidebars
This commit is contained in:
parent
1f77e201a1
commit
29f8ddda9e
|
@ -56,7 +56,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- QUICK PANEL -->
|
<!-- QUICK PANEL -->
|
||||||
<fuse-sidebar [name]="'quickPanel'" position="right" class="quick-panel">
|
<fuse-sidebar name="quickPanel" position="right" class="quick-panel">
|
||||||
<quick-panel></quick-panel>
|
<quick-panel></quick-panel>
|
||||||
</fuse-sidebar>
|
</fuse-sidebar>
|
||||||
<!-- / QUICK PANEL -->
|
<!-- / QUICK PANEL -->
|
||||||
|
@ -91,7 +91,7 @@
|
||||||
|
|
||||||
<!-- LEFT NAVBAR -->
|
<!-- LEFT NAVBAR -->
|
||||||
<ng-template #leftNavbar>
|
<ng-template #leftNavbar>
|
||||||
<fuse-sidebar [name]="'navbar'"
|
<fuse-sidebar name="navbar"
|
||||||
[folded]="fuseConfig.layout.navbar.folded"
|
[folded]="fuseConfig.layout.navbar.folded"
|
||||||
*ngIf="!fuseConfig.layout.navbar.hidden">
|
*ngIf="!fuseConfig.layout.navbar.hidden">
|
||||||
<navbar class="left-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
<navbar class="left-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- QUICK PANEL -->
|
<!-- QUICK PANEL -->
|
||||||
<fuse-sidebar [name]="'quickPanel'" position="right" class="quick-panel">
|
<fuse-sidebar name="quickPanel" position="right" class="quick-panel">
|
||||||
<quick-panel></quick-panel>
|
<quick-panel></quick-panel>
|
||||||
</fuse-sidebar>
|
</fuse-sidebar>
|
||||||
<!-- / QUICK PANEL -->
|
<!-- / QUICK PANEL -->
|
||||||
|
@ -93,9 +93,9 @@
|
||||||
|
|
||||||
<!-- LEFT NAVBAR -->
|
<!-- LEFT NAVBAR -->
|
||||||
<ng-template #leftNavbar>
|
<ng-template #leftNavbar>
|
||||||
<fuse-sidebar [name]="'navbar'"
|
<fuse-sidebar name="navbar"
|
||||||
[folded]="fuseConfig.layout.navbar.folded"
|
[folded]="fuseConfig.layout.navbar.folded"
|
||||||
[lockedOpen]="'gt-md'"
|
lockedOpen="gt-md"
|
||||||
*ngIf="!fuseConfig.layout.navbar.hidden">
|
*ngIf="!fuseConfig.layout.navbar.hidden">
|
||||||
<navbar class="left-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
<navbar class="left-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
||||||
</fuse-sidebar>
|
</fuse-sidebar>
|
||||||
|
@ -104,9 +104,9 @@
|
||||||
|
|
||||||
<!-- RIGHT NAVBAR -->
|
<!-- RIGHT NAVBAR -->
|
||||||
<ng-template #rightNavbar>
|
<ng-template #rightNavbar>
|
||||||
<fuse-sidebar [name]="'navbar'" position="right"
|
<fuse-sidebar name="navbar" position="right"
|
||||||
[folded]="fuseConfig.layout.navbar.folded"
|
[folded]="fuseConfig.layout.navbar.folded"
|
||||||
[lockedOpen]="'gt-md'"
|
lockedOpen="gt-md"
|
||||||
*ngIf="!fuseConfig.layout.navbar.hidden">
|
*ngIf="!fuseConfig.layout.navbar.hidden">
|
||||||
<navbar class="right-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
<navbar class="right-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
||||||
</fuse-sidebar>
|
</fuse-sidebar>
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- QUICK PANEL -->
|
<!-- QUICK PANEL -->
|
||||||
<fuse-sidebar [name]="'quickPanel'" position="right" class="quick-panel">
|
<fuse-sidebar name="quickPanel" position="right" class="quick-panel">
|
||||||
<quick-panel></quick-panel>
|
<quick-panel></quick-panel>
|
||||||
</fuse-sidebar>
|
</fuse-sidebar>
|
||||||
<!-- / QUICK PANEL -->
|
<!-- / QUICK PANEL -->
|
||||||
|
@ -93,9 +93,9 @@
|
||||||
|
|
||||||
<!-- LEFT NAVBAR -->
|
<!-- LEFT NAVBAR -->
|
||||||
<ng-template #leftNavbar>
|
<ng-template #leftNavbar>
|
||||||
<fuse-sidebar [name]="'navbar'"
|
<fuse-sidebar name="navbar"
|
||||||
[folded]="fuseConfig.layout.navbar.folded"
|
[folded]="fuseConfig.layout.navbar.folded"
|
||||||
[lockedOpen]="'gt-md'"
|
lockedOpen="gt-md"
|
||||||
*ngIf="!fuseConfig.layout.navbar.hidden">
|
*ngIf="!fuseConfig.layout.navbar.hidden">
|
||||||
<navbar class="left-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
<navbar class="left-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
||||||
</fuse-sidebar>
|
</fuse-sidebar>
|
||||||
|
@ -104,9 +104,9 @@
|
||||||
|
|
||||||
<!-- RIGHT NAVBAR -->
|
<!-- RIGHT NAVBAR -->
|
||||||
<ng-template #rightNavbar>
|
<ng-template #rightNavbar>
|
||||||
<fuse-sidebar [name]="'navbar'" position="right"
|
<fuse-sidebar name="navbar" position="right"
|
||||||
[folded]="fuseConfig.layout.navbar.folded"
|
[folded]="fuseConfig.layout.navbar.folded"
|
||||||
[lockedOpen]="'gt-md'"
|
lockedOpen="gt-md"
|
||||||
*ngIf="!fuseConfig.layout.navbar.hidden">
|
*ngIf="!fuseConfig.layout.navbar.hidden">
|
||||||
<navbar class="right-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
<navbar class="right-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
||||||
</fuse-sidebar>
|
</fuse-sidebar>
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- QUICK PANEL -->
|
<!-- QUICK PANEL -->
|
||||||
<fuse-sidebar [name]="'quickPanel'" position="right" class="quick-panel">
|
<fuse-sidebar name="quickPanel" position="right" class="quick-panel">
|
||||||
<quick-panel></quick-panel>
|
<quick-panel></quick-panel>
|
||||||
</fuse-sidebar>
|
</fuse-sidebar>
|
||||||
<!-- / QUICK PANEL -->
|
<!-- / QUICK PANEL -->
|
||||||
|
@ -79,9 +79,9 @@
|
||||||
|
|
||||||
<!-- LEFT NAVBAR -->
|
<!-- LEFT NAVBAR -->
|
||||||
<ng-template #leftNavbar>
|
<ng-template #leftNavbar>
|
||||||
<fuse-sidebar [name]="'navbar'"
|
<fuse-sidebar name="navbar"
|
||||||
[folded]="fuseConfig.layout.navbar.folded"
|
[folded]="fuseConfig.layout.navbar.folded"
|
||||||
[lockedOpen]="'gt-md'"
|
lockedOpen="gt-md"
|
||||||
*ngIf="!fuseConfig.layout.navbar.hidden">
|
*ngIf="!fuseConfig.layout.navbar.hidden">
|
||||||
<navbar class="left-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
<navbar class="left-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
||||||
</fuse-sidebar>
|
</fuse-sidebar>
|
||||||
|
@ -90,9 +90,9 @@
|
||||||
|
|
||||||
<!-- RIGHT NAVBAR -->
|
<!-- RIGHT NAVBAR -->
|
||||||
<ng-template #rightNavbar>
|
<ng-template #rightNavbar>
|
||||||
<fuse-sidebar [name]="'navbar'" position="right"
|
<fuse-sidebar name="navbar" position="right"
|
||||||
[folded]="fuseConfig.layout.navbar.folded"
|
[folded]="fuseConfig.layout.navbar.folded"
|
||||||
[lockedOpen]="'gt-md'"
|
lockedOpen="gt-md"
|
||||||
*ngIf="!fuseConfig.layout.navbar.hidden">
|
*ngIf="!fuseConfig.layout.navbar.hidden">
|
||||||
<navbar class="right-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
<navbar class="right-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
||||||
</fuse-sidebar>
|
</fuse-sidebar>
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
<p class="py-8">
|
<p class="py-8">
|
||||||
<fuse-highlight lang="html">
|
<fuse-highlight lang="html">
|
||||||
<textarea #source>
|
<textarea #source>
|
||||||
<fuse-sidebar [name]="'navbar'" [folded]="someSetting.isFolded" [lockedOpen]="'gt-md'"></fuse-sidebar>
|
<fuse-sidebar name="navbar" [folded]="someSetting.isFolded" lockedOpen="gt-md"></fuse-sidebar>
|
||||||
</textarea>
|
</textarea>
|
||||||
</fuse-highlight>
|
</fuse-highlight>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user