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>
|
||||
|
||||
<!-- QUICK PANEL -->
|
||||
<fuse-sidebar [name]="'quickPanel'" position="right" class="quick-panel">
|
||||
<fuse-sidebar name="quickPanel" position="right" class="quick-panel">
|
||||
<quick-panel></quick-panel>
|
||||
</fuse-sidebar>
|
||||
<!-- / QUICK PANEL -->
|
||||
|
@ -91,7 +91,7 @@
|
|||
|
||||
<!-- LEFT NAVBAR -->
|
||||
<ng-template #leftNavbar>
|
||||
<fuse-sidebar [name]="'navbar'"
|
||||
<fuse-sidebar name="navbar"
|
||||
[folded]="fuseConfig.layout.navbar.folded"
|
||||
*ngIf="!fuseConfig.layout.navbar.hidden">
|
||||
<navbar class="left-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
</div>
|
||||
|
||||
<!-- QUICK PANEL -->
|
||||
<fuse-sidebar [name]="'quickPanel'" position="right" class="quick-panel">
|
||||
<fuse-sidebar name="quickPanel" position="right" class="quick-panel">
|
||||
<quick-panel></quick-panel>
|
||||
</fuse-sidebar>
|
||||
<!-- / QUICK PANEL -->
|
||||
|
@ -93,9 +93,9 @@
|
|||
|
||||
<!-- LEFT NAVBAR -->
|
||||
<ng-template #leftNavbar>
|
||||
<fuse-sidebar [name]="'navbar'"
|
||||
<fuse-sidebar name="navbar"
|
||||
[folded]="fuseConfig.layout.navbar.folded"
|
||||
[lockedOpen]="'gt-md'"
|
||||
lockedOpen="gt-md"
|
||||
*ngIf="!fuseConfig.layout.navbar.hidden">
|
||||
<navbar class="left-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
||||
</fuse-sidebar>
|
||||
|
@ -104,9 +104,9 @@
|
|||
|
||||
<!-- RIGHT NAVBAR -->
|
||||
<ng-template #rightNavbar>
|
||||
<fuse-sidebar [name]="'navbar'" position="right"
|
||||
<fuse-sidebar name="navbar" position="right"
|
||||
[folded]="fuseConfig.layout.navbar.folded"
|
||||
[lockedOpen]="'gt-md'"
|
||||
lockedOpen="gt-md"
|
||||
*ngIf="!fuseConfig.layout.navbar.hidden">
|
||||
<navbar class="right-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
||||
</fuse-sidebar>
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
</div>
|
||||
|
||||
<!-- QUICK PANEL -->
|
||||
<fuse-sidebar [name]="'quickPanel'" position="right" class="quick-panel">
|
||||
<fuse-sidebar name="quickPanel" position="right" class="quick-panel">
|
||||
<quick-panel></quick-panel>
|
||||
</fuse-sidebar>
|
||||
<!-- / QUICK PANEL -->
|
||||
|
@ -93,9 +93,9 @@
|
|||
|
||||
<!-- LEFT NAVBAR -->
|
||||
<ng-template #leftNavbar>
|
||||
<fuse-sidebar [name]="'navbar'"
|
||||
<fuse-sidebar name="navbar"
|
||||
[folded]="fuseConfig.layout.navbar.folded"
|
||||
[lockedOpen]="'gt-md'"
|
||||
lockedOpen="gt-md"
|
||||
*ngIf="!fuseConfig.layout.navbar.hidden">
|
||||
<navbar class="left-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
||||
</fuse-sidebar>
|
||||
|
@ -104,9 +104,9 @@
|
|||
|
||||
<!-- RIGHT NAVBAR -->
|
||||
<ng-template #rightNavbar>
|
||||
<fuse-sidebar [name]="'navbar'" position="right"
|
||||
<fuse-sidebar name="navbar" position="right"
|
||||
[folded]="fuseConfig.layout.navbar.folded"
|
||||
[lockedOpen]="'gt-md'"
|
||||
lockedOpen="gt-md"
|
||||
*ngIf="!fuseConfig.layout.navbar.hidden">
|
||||
<navbar class="right-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
||||
</fuse-sidebar>
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
</div>
|
||||
|
||||
<!-- QUICK PANEL -->
|
||||
<fuse-sidebar [name]="'quickPanel'" position="right" class="quick-panel">
|
||||
<fuse-sidebar name="quickPanel" position="right" class="quick-panel">
|
||||
<quick-panel></quick-panel>
|
||||
</fuse-sidebar>
|
||||
<!-- / QUICK PANEL -->
|
||||
|
@ -79,9 +79,9 @@
|
|||
|
||||
<!-- LEFT NAVBAR -->
|
||||
<ng-template #leftNavbar>
|
||||
<fuse-sidebar [name]="'navbar'"
|
||||
<fuse-sidebar name="navbar"
|
||||
[folded]="fuseConfig.layout.navbar.folded"
|
||||
[lockedOpen]="'gt-md'"
|
||||
lockedOpen="gt-md"
|
||||
*ngIf="!fuseConfig.layout.navbar.hidden">
|
||||
<navbar class="left-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
||||
</fuse-sidebar>
|
||||
|
@ -90,9 +90,9 @@
|
|||
|
||||
<!-- RIGHT NAVBAR -->
|
||||
<ng-template #rightNavbar>
|
||||
<fuse-sidebar [name]="'navbar'" position="right"
|
||||
<fuse-sidebar name="navbar" position="right"
|
||||
[folded]="fuseConfig.layout.navbar.folded"
|
||||
[lockedOpen]="'gt-md'"
|
||||
lockedOpen="gt-md"
|
||||
*ngIf="!fuseConfig.layout.navbar.hidden">
|
||||
<navbar class="right-navbar" [ngClass]="fuseConfig.layout.navbar.background" layout="vertical"></navbar>
|
||||
</fuse-sidebar>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<p class="py-8">
|
||||
<fuse-highlight lang="html">
|
||||
<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>
|
||||
</fuse-highlight>
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue
Block a user