Watchdog item – řádek aktivního hlídače
Tlačítka nesou data-watchdog-action="edit|disable" a data-watchdog-id; klik si aplikace odchytí delegací. Na mobilu je každý hlídač samostatná karta.
V kartě Aktivní hlídače
-
Aktivní hlídače
Posílají vám nové nemovitosti podle uloženého filtru. -
{% embed "@Components/user-card/user-card.twig" with { props: { title: "Aktivní hlídače", subtitle: "Posílají vám nové nemovitosti podle uloženého filtru.", icon: { src: "svg/user-section/bell.svg" } } } %} {% block body %} {% include "@Components/watchdog-item/watchdog-item.twig" with { props: { id: 101, title: "Domy České Budějovice", url: "#", total: 1798, totalLabel: "1 798 nemovitostí", fresh: 12, freshLabel: "12 nových", ok: true, statusTitle: "Hlídač je aktivní a správně nastavený", channels: [ { label: "E-mail", interval: "1× denně" }, { label: "Webpush", interval: "1× denně" }, ], editButton: { title: "Upravit" }, disableButton: { title: "Vypnout", hint: "Vypnout hlídání, filtr zůstane uložený" } } } %} {% include "@Components/watchdog-item/watchdog-item.twig" with { props: { id: 102, title: "Byty prodej Lišov", url: "#", total: 38, totalLabel: "38 nemovitostí", fresh: 0, ok: true, channels: [ { label: "E-mail", interval: "1× týdně" }, ], editButton: { title: "Upravit" }, disableButton: { title: "Vypnout" } } } %} {% endblock %} {% endembed %} -
<section class="user-card"> <header class="user-card__header"> <span class="user-card__icon" aria-hidden="true"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3a4.5 4.5 0 00-4.5 4.5c0 3-1.3 4.2-1.3 4.2h11.6s-1.3-1.2-1.3-4.2A4.5 4.5 0 0010 3z"/><path d="M8.4 14.6a1.7 1.7 0 003.2 0"/></svg> </span> </span> <div class="user-card__heading"> <h2 class="user-card__title">Aktivní hlídače</h2> <div class="user-card__subtitle">Posílají vám nové nemovitosti podle uloženého filtru.</div> </div> <div class="user-card__aside"></div> </header> <div class="user-card__panel"> <div class="user-card__body"> <div class="watchdog-item user-card__row" data-watchdog-id="101"> <div class="watchdog-item__main"> <div class="watchdog-item__heading"> <span class="watchdog-item__status" title="Hlídač je aktivní a správně nastavený"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 10.5l4 4 8-9"/></svg> </span> <span class="visually-hidden">Hlídač je aktivní a správně nastavený</span> </span> <a class="watchdog-item__title" href="#">Domy České Budějovice</a> </div> <div class="watchdog-item__meta"> <span class="watchdog-item__total">1 798 nemovitostí</span> <div class="badge --red --pill"> <span class="badge__title">12 nových</span> </div> </div> </div> <div class="watchdog-item__channels"> <span class="watchdog-item__channel"> <span>E-mail · 1× denně</span> </span> <span class="watchdog-item__channel"> <span>Webpush · 1× denně</span> </span> </div> <div class="watchdog-item__actions"> <button type="button" class="user-action-btn user-action-btn--primary" data-watchdog-action="edit" data-watchdog-id="101"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="18.955" height="19.5" viewBox="0 0 18.955 19.5" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><g transform="translate(-322.645 -146.273)"><path d="M329.316,154.562a3.176,3.176,0,0,0,4.267,4.268,2.76,2.76,0,0,0,1.343-1.34,3.175,3.175,0,0,0-4.269-4.271A2.766,2.766,0,0,0,329.316,154.562Z"/><path d="M325.373,156.023a7.138,7.138,0,0,0,.063.883l-1.716,1.341a.709.709,0,0,0-.177.915l1.574,2.725a.708.708,0,0,0,.878.3l1.667-.67a.708.708,0,0,1,.662.078,7.1,7.1,0,0,0,.863.5.71.71,0,0,1,.407.536l.256,1.779a.708.708,0,0,0,.7.607h3.142a.711.711,0,0,0,.7-.609l.255-1.774a.716.716,0,0,1,.414-.542,6.684,6.684,0,0,0,.86-.5.709.709,0,0,1,.661-.077l1.664.668a.709.709,0,0,0,.878-.3l1.575-2.726a.709.709,0,0,0-.178-.914l-1.716-1.341a6.214,6.214,0,0,0,0-1.765l1.716-1.342a.709.709,0,0,0,.178-.914l-1.575-2.726a.71.71,0,0,0-.878-.3l-1.665.668a.711.711,0,0,1-.666-.08,6.382,6.382,0,0,0-.855-.5.716.716,0,0,1-.413-.539l-.232-1.612c-.074-.517-.373-.774-.726-.774h-3.142a.71.71,0,0,0-.7.608l-.254,1.775a.72.72,0,0,1-.408.539,7.145,7.145,0,0,0-.861.5.712.712,0,0,1-.664.077l-1.667-.669a.709.709,0,0,0-.878.3l-1.574,2.725a.709.709,0,0,0,.177.915l1.716,1.341A7.135,7.135,0,0,0,325.373,156.023Z"/></g></svg> </span> <span>Upravit</span> </button> <button type="button" class="user-action-btn user-action-btn--danger" data-watchdog-action="disable" data-watchdog-id="101" title="Vypnout hlídání, filtr zůstane uložený"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3a4.5 4.5 0 00-4.5 4.5c0 3-1.3 4.2-1.3 4.2h11.6s-1.3-1.2-1.3-4.2A4.5 4.5 0 0010 3z"/><path d="M8.4 14.6a1.7 1.7 0 003.2 0"/><path d="M3.5 3.5l13 13"/></svg> </span> <span>Vypnout</span> </button> </div> </div> <div class="watchdog-item user-card__row" data-watchdog-id="102"> <div class="watchdog-item__main"> <div class="watchdog-item__heading"> <span class="watchdog-item__status"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 10.5l4 4 8-9"/></svg> </span> </span> <a class="watchdog-item__title" href="#">Byty prodej Lišov</a> </div> <div class="watchdog-item__meta"> <span class="watchdog-item__total">38 nemovitostí</span> </div> </div> <div class="watchdog-item__channels"> <span class="watchdog-item__channel"> <span>E-mail · 1× týdně</span> </span> </div> <div class="watchdog-item__actions"> <button type="button" class="user-action-btn user-action-btn--primary" data-watchdog-action="edit" data-watchdog-id="102"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="18.955" height="19.5" viewBox="0 0 18.955 19.5" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><g transform="translate(-322.645 -146.273)"><path d="M329.316,154.562a3.176,3.176,0,0,0,4.267,4.268,2.76,2.76,0,0,0,1.343-1.34,3.175,3.175,0,0,0-4.269-4.271A2.766,2.766,0,0,0,329.316,154.562Z"/><path d="M325.373,156.023a7.138,7.138,0,0,0,.063.883l-1.716,1.341a.709.709,0,0,0-.177.915l1.574,2.725a.708.708,0,0,0,.878.3l1.667-.67a.708.708,0,0,1,.662.078,7.1,7.1,0,0,0,.863.5.71.71,0,0,1,.407.536l.256,1.779a.708.708,0,0,0,.7.607h3.142a.711.711,0,0,0,.7-.609l.255-1.774a.716.716,0,0,1,.414-.542,6.684,6.684,0,0,0,.86-.5.709.709,0,0,1,.661-.077l1.664.668a.709.709,0,0,0,.878-.3l1.575-2.726a.709.709,0,0,0-.178-.914l-1.716-1.341a6.214,6.214,0,0,0,0-1.765l1.716-1.342a.709.709,0,0,0,.178-.914l-1.575-2.726a.71.71,0,0,0-.878-.3l-1.665.668a.711.711,0,0,1-.666-.08,6.382,6.382,0,0,0-.855-.5.716.716,0,0,1-.413-.539l-.232-1.612c-.074-.517-.373-.774-.726-.774h-3.142a.71.71,0,0,0-.7.608l-.254,1.775a.72.72,0,0,1-.408.539,7.145,7.145,0,0,0-.861.5.712.712,0,0,1-.664.077l-1.667-.669a.709.709,0,0,0-.878.3l-1.574,2.725a.709.709,0,0,0,.177.915l1.716,1.341A7.135,7.135,0,0,0,325.373,156.023Z"/></g></svg> </span> <span>Upravit</span> </button> <button type="button" class="user-action-btn user-action-btn--danger" data-watchdog-action="disable" data-watchdog-id="102"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3a4.5 4.5 0 00-4.5 4.5c0 3-1.3 4.2-1.3 4.2h11.6s-1.3-1.2-1.3-4.2A4.5 4.5 0 0010 3z"/><path d="M8.4 14.6a1.7 1.7 0 003.2 0"/><path d="M3.5 3.5l13 13"/></svg> </span> <span>Vypnout</span> </button> </div> </div> </div> </div> </section>
Kanál s intervalem Ihned (Expres)
-
Aktivní hlídače
-
{# Kanál s intervalem Ihned (Expres) má zlatý chip s bleskem #} {% embed "@Components/user-card/user-card.twig" with { props: { title: "Aktivní hlídače", icon: { src: "svg/user-section/bell.svg" } } } %} {% block body %} {% include "@Components/watchdog-item/watchdog-item.twig" with { props: { id: 103, title: "Prodej domů v okrese Tábor", url: "#", total: 159, totalLabel: "159 nemovitostí", fresh: 151, freshLabel: "151 nových", ok: true, channels: [ { label: "Webpush", interval: "Ihned", express: true }, { label: "Aplikace", interval: "1× denně" }, ], editButton: { title: "Upravit" }, disableButton: { title: "Vypnout" } } } %} {% endblock %} {% endembed %} -
<section class="user-card"> <header class="user-card__header"> <span class="user-card__icon" aria-hidden="true"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3a4.5 4.5 0 00-4.5 4.5c0 3-1.3 4.2-1.3 4.2h11.6s-1.3-1.2-1.3-4.2A4.5 4.5 0 0010 3z"/><path d="M8.4 14.6a1.7 1.7 0 003.2 0"/></svg> </span> </span> <div class="user-card__heading"> <h2 class="user-card__title">Aktivní hlídače</h2> </div> <div class="user-card__aside"></div> </header> <div class="user-card__panel"> <div class="user-card__body"> <div class="watchdog-item user-card__row" data-watchdog-id="103"> <div class="watchdog-item__main"> <div class="watchdog-item__heading"> <span class="watchdog-item__status"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 10.5l4 4 8-9"/></svg> </span> </span> <a class="watchdog-item__title" href="#">Prodej domů v okrese Tábor</a> </div> <div class="watchdog-item__meta"> <span class="watchdog-item__total">159 nemovitostí</span> <div class="badge --red --pill"> <span class="badge__title">151 nových</span> </div> </div> </div> <div class="watchdog-item__channels"> <span class="watchdog-item__channel watchdog-item__channel--express"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path d="M11.5 2L5 11h4l-1 7 6.5-9h-4l1-7z"/></svg> </span> <span>Webpush · Ihned</span> </span> <span class="watchdog-item__channel"> <span>Aplikace · 1× denně</span> </span> </div> <div class="watchdog-item__actions"> <button type="button" class="user-action-btn user-action-btn--primary" data-watchdog-action="edit" data-watchdog-id="103"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="18.955" height="19.5" viewBox="0 0 18.955 19.5" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><g transform="translate(-322.645 -146.273)"><path d="M329.316,154.562a3.176,3.176,0,0,0,4.267,4.268,2.76,2.76,0,0,0,1.343-1.34,3.175,3.175,0,0,0-4.269-4.271A2.766,2.766,0,0,0,329.316,154.562Z"/><path d="M325.373,156.023a7.138,7.138,0,0,0,.063.883l-1.716,1.341a.709.709,0,0,0-.177.915l1.574,2.725a.708.708,0,0,0,.878.3l1.667-.67a.708.708,0,0,1,.662.078,7.1,7.1,0,0,0,.863.5.71.71,0,0,1,.407.536l.256,1.779a.708.708,0,0,0,.7.607h3.142a.711.711,0,0,0,.7-.609l.255-1.774a.716.716,0,0,1,.414-.542,6.684,6.684,0,0,0,.86-.5.709.709,0,0,1,.661-.077l1.664.668a.709.709,0,0,0,.878-.3l1.575-2.726a.709.709,0,0,0-.178-.914l-1.716-1.341a6.214,6.214,0,0,0,0-1.765l1.716-1.342a.709.709,0,0,0,.178-.914l-1.575-2.726a.71.71,0,0,0-.878-.3l-1.665.668a.711.711,0,0,1-.666-.08,6.382,6.382,0,0,0-.855-.5.716.716,0,0,1-.413-.539l-.232-1.612c-.074-.517-.373-.774-.726-.774h-3.142a.71.71,0,0,0-.7.608l-.254,1.775a.72.72,0,0,1-.408.539,7.145,7.145,0,0,0-.861.5.712.712,0,0,1-.664.077l-1.667-.669a.709.709,0,0,0-.878.3l-1.574,2.725a.709.709,0,0,0,.177.915l1.716,1.341A7.135,7.135,0,0,0,325.373,156.023Z"/></g></svg> </span> <span>Upravit</span> </button> <button type="button" class="user-action-btn user-action-btn--danger" data-watchdog-action="disable" data-watchdog-id="103"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3a4.5 4.5 0 00-4.5 4.5c0 3-1.3 4.2-1.3 4.2h11.6s-1.3-1.2-1.3-4.2A4.5 4.5 0 0010 3z"/><path d="M8.4 14.6a1.7 1.7 0 003.2 0"/><path d="M3.5 3.5l13 13"/></svg> </span> <span>Vypnout</span> </button> </div> </div> </div> </div> </section>
Bez kanálu, dlouhý název
-
Aktivní hlídače
Hlídač nic neposílá – chybí kanál Byt 4+1, 5+kk, 5+1 a více na prodej, jižní Čechy, České Budějovice 1, novostavba, výtah, garáž, MHD, autobus, vlak, tramvajŽádný kanál -
{# Hlídač bez kanálu (nic neposílá) a s dlouhým názvem #} {% embed "@Components/user-card/user-card.twig" with { props: { title: "Aktivní hlídače", icon: { src: "svg/user-section/bell.svg" } } } %} {% block body %} {% include "@Components/watchdog-item/watchdog-item.twig" with { props: { id: 104, title: "Byt 4+1, 5+kk, 5+1 a více na prodej, jižní Čechy, České Budějovice 1, novostavba, výtah, garáž, MHD, autobus, vlak, tramvaj", url: "#", total: 16, totalLabel: "16 nemovitostí", fresh: 1, freshLabel: "1 nová", ok: false, statusTitle: "Hlídač nic neposílá – chybí kanál", channels: [], noChannelLabel: "Žádný kanál", editButton: { title: "Upravit" }, disableButton: { title: "Vypnout" } } } %} {% endblock %} {% endembed %} -
<section class="user-card"> <header class="user-card__header"> <span class="user-card__icon" aria-hidden="true"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3a4.5 4.5 0 00-4.5 4.5c0 3-1.3 4.2-1.3 4.2h11.6s-1.3-1.2-1.3-4.2A4.5 4.5 0 0010 3z"/><path d="M8.4 14.6a1.7 1.7 0 003.2 0"/></svg> </span> </span> <div class="user-card__heading"> <h2 class="user-card__title">Aktivní hlídače</h2> </div> <div class="user-card__aside"></div> </header> <div class="user-card__panel"> <div class="user-card__body"> <div class="watchdog-item user-card__row" data-watchdog-id="104"> <div class="watchdog-item__main"> <div class="watchdog-item__heading"> <span class="watchdog-item__status watchdog-item__status--warning" title="Hlídač nic neposílá – chybí kanál"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 5.5v5M10 13.6v0.1"/></svg> </span> <span class="visually-hidden">Hlídač nic neposílá – chybí kanál</span> </span> <a class="watchdog-item__title" href="#">Byt 4+1, 5+kk, 5+1 a více na prodej, jižní Čechy, České Budějovice 1, novostavba, výtah, garáž, MHD, autobus, vlak, tramvaj</a> </div> <div class="watchdog-item__meta"> <span class="watchdog-item__total">16 nemovitostí</span> <div class="badge --red --pill"> <span class="badge__title">1 nová</span> </div> </div> </div> <div class="watchdog-item__channels"> <span class="watchdog-item__channel watchdog-item__channel--none">Žádný kanál</span> </div> <div class="watchdog-item__actions"> <button type="button" class="user-action-btn user-action-btn--primary" data-watchdog-action="edit" data-watchdog-id="104"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="18.955" height="19.5" viewBox="0 0 18.955 19.5" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><g transform="translate(-322.645 -146.273)"><path d="M329.316,154.562a3.176,3.176,0,0,0,4.267,4.268,2.76,2.76,0,0,0,1.343-1.34,3.175,3.175,0,0,0-4.269-4.271A2.766,2.766,0,0,0,329.316,154.562Z"/><path d="M325.373,156.023a7.138,7.138,0,0,0,.063.883l-1.716,1.341a.709.709,0,0,0-.177.915l1.574,2.725a.708.708,0,0,0,.878.3l1.667-.67a.708.708,0,0,1,.662.078,7.1,7.1,0,0,0,.863.5.71.71,0,0,1,.407.536l.256,1.779a.708.708,0,0,0,.7.607h3.142a.711.711,0,0,0,.7-.609l.255-1.774a.716.716,0,0,1,.414-.542,6.684,6.684,0,0,0,.86-.5.709.709,0,0,1,.661-.077l1.664.668a.709.709,0,0,0,.878-.3l1.575-2.726a.709.709,0,0,0-.178-.914l-1.716-1.341a6.214,6.214,0,0,0,0-1.765l1.716-1.342a.709.709,0,0,0,.178-.914l-1.575-2.726a.71.71,0,0,0-.878-.3l-1.665.668a.711.711,0,0,1-.666-.08,6.382,6.382,0,0,0-.855-.5.716.716,0,0,1-.413-.539l-.232-1.612c-.074-.517-.373-.774-.726-.774h-3.142a.71.71,0,0,0-.7.608l-.254,1.775a.72.72,0,0,1-.408.539,7.145,7.145,0,0,0-.861.5.712.712,0,0,1-.664.077l-1.667-.669a.709.709,0,0,0-.878.3l-1.574,2.725a.709.709,0,0,0,.177.915l1.716,1.341A7.135,7.135,0,0,0,325.373,156.023Z"/></g></svg> </span> <span>Upravit</span> </button> <button type="button" class="user-action-btn user-action-btn--danger" data-watchdog-action="disable" data-watchdog-id="104"> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3a4.5 4.5 0 00-4.5 4.5c0 3-1.3 4.2-1.3 4.2h11.6s-1.3-1.2-1.3-4.2A4.5 4.5 0 0010 3z"/><path d="M8.4 14.6a1.7 1.7 0 003.2 0"/><path d="M3.5 3.5l13 13"/></svg> </span> <span>Vypnout</span> </button> </div> </div> </div> </div> </section>
Schema
{
"props": {
"id": {
"type": "string | number",
"description": "Id hlídače; jde do data-watchdog-id na řádku i na tlačítkách"
},
"title": {
"type": "string",
"description": "Název hlídače (odkaz). Texty se vypisují bez escapování (autoescape je vypnutý) – uživatelský obsah musí escapovat aplikace."
},
"url": {
"type": "string",
"description": "Odkaz na výpis nemovitostí hlídače"
},
"total": {
"type": "number",
"description": "Počet nemovitostí (jen informativně, text je v totalLabel)"
},
"totalLabel": {
"type": "string",
"description": "Hotový text, např. „1 798 nemovitostí“ (skloňování řeší aplikace)"
},
"fresh": {
"type": "number",
"description": "Počet novinek; červený pill se vykreslí jen když je > 0"
},
"freshLabel": {
"type": "string",
"description": "Hotový text pillu, např. „12 nových“"
},
"ok": {
"type": "boolean",
"description": "true = zelená ikona (hlídač funguje), false = varovná (např. chybí kanál)"
},
"statusTitle": {
"type": "string",
"description": "Popis stavu (title + text pro čtečky), např. „Hlídač je aktivní a správně nastavený“"
},
"channels": {
"type": "array of objects",
"description": "{ label, interval, express } → chip „E-mail · 1× denně“; express: true = zlatý chip s bleskem (interval Ihned)"
},
"noChannelLabel": {
"type": "string",
"description": "Text červeného chipu, když je channels prázdné, např. „Žádný kanál“"
},
"editButton": {
"type": "object",
"description": "{ title, attributes[] } – tlačítko s data-watchdog-action=\"edit\"; attributes např. ['data-toggle=\"modal\"', 'data-target=\"watchdogEditModal\"']"
},
"disableButton": {
"type": "object",
"description": "{ title, hint, attributes[] } – tlačítko s data-watchdog-action=\"disable\""
},
"extraClass": {
"type": "string",
"description": "Extra CSS class"
}
}
}