-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- adds wakelock element - improves swap behavior
- Loading branch information
1 parent
bbb65dd
commit dd63b43
Showing
23 changed files
with
1,206 additions
and
402 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<script type="module" src="/package/wakelock/define.ts"></script> | ||
|
||
<drab-wakelock auto-lock> | ||
<button data-trigger class="button button-primary"> | ||
<span data-content>Lock</span> | ||
<template data-swap>Unlock</template> | ||
</button> | ||
</drab-wakelock> | ||
|
||
<!-- Alternatively, set without a `trigger` (hidden) --> | ||
<!-- <drab-wakelock locked auto-lock></drab-wakelock> --> |
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
Oops, something went wrong.