-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(examples): add new sample to showcase queued editing (#28)
* feat(examples): add new sample to showcase queued editing
- Loading branch information
1 parent
e587ef5
commit 3b8fec6
Showing
42 changed files
with
1,525 additions
and
472 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
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
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
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
34 changes: 34 additions & 0 deletions
34
examples/webpack-demo-vanilla-bundle/src/examples/example11.html
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,34 @@ | ||
<h3 class="title is-3"> | ||
Example 11 - Queued Editing | ||
<span class="subtitle">(with Salesforce Theme)</span> | ||
</h3> | ||
|
||
<section> | ||
<div class="row"> | ||
<button class="button is-small" onclick.delegate="toggleGridEditReadonly()" data-test="toggle-readonly-btn"> | ||
<span class="icon mdi mdi-table-edit"></span> | ||
<span>Toggle Edit/Readonly Grid</span> | ||
</button> | ||
<button class="button is-small" onclick.delegate="undoLastEdit()" data-test="undo-last-edit-btn"> | ||
<span class="icon mdi mdi-undo"></span> | ||
<span>Undo Last Edit</span> | ||
</button> | ||
<button class="button is-small" onclick.delegate="undoLastEdit(true)" data-test="undo-open-editor-btn"> | ||
<span class="icon mdi mdi-undo"></span> | ||
<span>Undo Last Edit & Open Editor</span> | ||
</button> | ||
<button class="button is-small" onclick.delegate="undoAllEdits()" data-test="undo-all-edits-btn"> | ||
<span class="icon mdi mdi-history"></span> | ||
<span>Undo All Edits</span> | ||
</button> | ||
<button class="button is-small is-info" onclick.delegate="saveAll()" data-test="save-all-btn" | ||
title="Check your console log for the result"> | ||
<span>Save All</span> | ||
</button> | ||
</div> | ||
</section> | ||
|
||
<br> | ||
|
||
<div class="grid11"> | ||
</div> |
4 changes: 4 additions & 0 deletions
4
examples/webpack-demo-vanilla-bundle/src/examples/example11.scss
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,4 @@ | ||
$control-height: 2.4em; | ||
|
||
@import 'bulma/bulma'; | ||
|
Oops, something went wrong.