Basic Usage
$persist
useful for persisting
search filters, active tabs, and other features where users will
be frustrated if their configuration is reset after refreshing
or leaving and revisiting a page.
25 May, 2022
Projects
Activity
$2,139.22
**** **** **** 8945
$2,139.22
**** **** **** 8945
$2,139.22
**** **** **** 8945
11.3 hr
Working Hours
13 /22
Completed tasks
Bitcoin
60.33$
+3.3%
Solana
20.56$
+4.11%
John D.
2 min read
Travis F.
5 min read
Alfredo E .
4 min read
35GB of 1TB
Upgrade14
Pending
36
Completed
143
In Progress
279
Total
LMS App Design
Updated at 7 Sep
25%
Store Dashboard
Updated at 11 Sep
49%
Chat Mobile App
Updated at 19 Sep
13%
NFT Marketplace App
Updated at 5 Sep
78%
Today
6hr 22m
User Photo Changed
12 minute agoJohn Doe changed his avatar photo
Design Completed
3 hours agoRobert Nolan completed the design of the CRM application
File_final.figER Diagram
a day agoTeam completed the ER diagram app
Members:
Weekly Report
a day agoThe weekly report was uploaded
$persist
useful for persisting
search filters, active tabs, and other features where users will
be frustrated if their configuration is reset after refreshing
or leaving and revisiting a page.
<div x-data="{value: $persist('').as('other-value')}">
<div class="flex -space-x-px">
<input
x-model="value"
class="form-input h-10 w-full rounded-l-lg border border-slate-300 bg-transparent px-3 py-2 placeholder:text-slate-400/70 hover:z-10 hover:border-slate-400 focus:z-10 focus:border-primary dark:border-navy-450 dark:hover:border-navy-400 dark:focus:border-accent"
placeholder="Enter text"
type="text"
/>
<button
@click="location.reload()"
class="btn z-2 h-10 w-10 shrink-0 rounded-l-none bg-primary p-0 font-medium text-white hover:bg-primary-focus focus:bg-primary-focus active:bg-primary-focus/90 dark:bg-accent dark:hover:bg-accent-focus dark:focus:bg-accent-focus dark:active:bg-accent/90"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-5 w-5"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
stroke-width="2"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"
/>
</svg>
</button>
</div>
</div>