Skip to content
This repository has been archived by the owner on Aug 6, 2022. It is now read-only.

demo: add [disabled] example #293

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion projects/app/src/app/app.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
.box-container {
box-sizing: border-box;
width: 800px;
height: 500px;
height: 600px;
max-width: 90%;
max-height: 90%;
padding: 24px;
Expand Down
2 changes: 2 additions & 0 deletions projects/app/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<div class="action-container" fxLayout="column" fxLayoutAlign="stretch" fxFlex="auto">
<div class="action-button" fxLayout="column" fxLayoutAlign="center" fxFlex="auto" (click)='toggleType()'>{{(type == "component") ? "Switch to directive" : "Switch to component"}}</div>

<div class="action-button" fxLayout="column" fxLayoutAlign="center" fxFlex="auto" (click)='toggleDisabled()'>{{disabled ? "Enable slider" : "Disable slider"}}</div>

<div class="action-button" fxLayout="column" fxLayoutAlign="center" fxFlex="auto" (click)='toggleDirection()'>{{(config.direction == "horizontal") ? "Change to vertical" : "Change to horizontal"}}</div>

<div class="action-button" fxLayout="column" fxLayoutAlign="center" fxFlex="auto" (click)='toggleSlidesPerView()'>Toggle slides per view</div>
Expand Down