bulk-bar
Scáileán liosta Scáileán liosta ginearálta le teideal, barra uirlisí agus rónna a oibríonn ar dheasc agus ar fón.
Stiall cheanntáisc an mhodha roghnaithe, in ionad an bharra liosta: an líon, nasc leathnaithe, agus roghchlár na ngníomhartha.
Tá gach sampla beo, ach ní théann a naisc áit ar bith. Taispeánann HTML an marcáil le cóipeáil.
Trí ró roghnaithe
Tagann an mhír mhillteach ar deireadh: is í an chéad iontráil réamhshocrú intuigthe Enter na foirme timpeall uirthi.
Cuir é seo taobh istigh de <div rst-list>.
<div rst-bulkbar >
<a rst-bulkbar-close href ="/posts" aria-label ="Roghnú críochnaithe" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><path d ="M18 6 6 18" /><path d ="m6 6 12 12" /></svg >
</a >
<span rst-bulkbar-selection ><span rst-bulkbar-count >3 roghnaithe</span ><a rst-bulkbar-escalate href ="/posts?select=all" >Roghnaigh na 412 ar fad a mheaitseálann</a ></span >
<details rst-dropdown name ="rst-menus" >
<summary >
Gníomhartha
<span rst-caret aria-hidden ="true" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><path d ="m6 9 6 6 6-6" /></svg >
</span >
</summary >
<div rst-dropdown-menu >
<button type ="submit" name ="action" value ="export" >Easpórtáil</button >
<button type ="submit" name ="action" value ="unpublish" >Dífhoilsigh</button >
<button type ="submit" name ="action" value ="delete" class ="rst-danger" >Scrios…</button >
</div >
</details >
</div >
In aip, shroichfeadh sé seo /posts, /posts?select=all. Anseo ní théann a naisc ná a fhoirmeacha áit ar bith.