feat: il widget ha tre aspetti (elenco, schede con locandina, carosello) e i comuni si tagliano al limite del servizio
This commit is contained in:
parent
5c73bbc2b8
commit
fbae03e4f3
7 changed files with 71 additions and 6 deletions
|
|
@ -99,7 +99,21 @@
|
|||
set({ categoria: v });
|
||||
}
|
||||
}),
|
||||
campo('limite', __('How many events', 'piazza-in-festa'), __('From 1 to 20.', 'piazza-in-festa'))
|
||||
campo('limite', __('How many events', 'piazza-in-festa'), __('From 1 to 20.', 'piazza-in-festa')),
|
||||
el(SelectControl, {
|
||||
label: __('Layout', 'piazza-in-festa'),
|
||||
value: a.formato,
|
||||
options: [
|
||||
{ label: __('List', 'piazza-in-festa'), value: 'lista' },
|
||||
{ label: __('Cards', 'piazza-in-festa'), value: 'schede' },
|
||||
{ label: __('Carousel', 'piazza-in-festa'), value: 'carosello' }
|
||||
],
|
||||
__next40pxDefaultSize: true,
|
||||
__nextHasNoMarginBottom: true,
|
||||
onChange: function (v) {
|
||||
set({ formato: v });
|
||||
}
|
||||
})
|
||||
),
|
||||
el(
|
||||
PanelBody,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue