Actions / cycleAttribute
Cycle an attribute through comma-separated values
Cycle an attribute through comma-separated values
<button @action="cycleAttribute#type=password,text" @target="token" class="demo-btn ghost">Show token</button>
<div class="demo-input-group">
<label for="token">API token</label>
<input id="token" class="demo-input" type="password" value="sk_live_4eC39HqLyjWDrf">
</div>