Dashboard
PHP:
8.4.22
OS:
Linux
User:
provencez
/
/
home
/
provencez
/
www
/
wp-content
/
plugins
/
flexa-block
/
build
/
blocks
/
slides
📤 Upload
📝 New File
📁 New Folder
Close
Editing: block.json
{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "flexa/slides", "version": "1.0.0", "title": "Slider", "category": "flexa", "description": "Carousel of slides with autoplay, loop, transition effects, arrow and dot navigation, per-device slides-per-view and light/dark styling.", "keywords": [ "flexa", "slider", "carousel", "slideshow", "slides" ], "textdomain": "flexa-block", "example": { "attributes": { "isExamplePreview": true }, "viewportWidth": 500 }, "attributes": { "isExamplePreview": { "type": "boolean", "default": false }, "blockId": { "type": "string" }, "autoplay": { "type": "boolean", "default": false }, "autoplayDelay": { "type": "number", "default": 3000 }, "pauseOnHover": { "type": "boolean", "default": true }, "pauseOnInteraction": { "type": "boolean", "default": true }, "loop": { "type": "boolean", "default": true }, "speed": { "type": "number", "default": 500 }, "effect": { "type": "string", "default": "slide", "enum": [ "slide", "fade", "cube", "coverflow", "flip", "creative" ] }, "slidesPerView": { "type": "object", "default": { "desktop": 1, "tablet": 1, "mobile": 1 } }, "spaceBetween": { "type": "number", "default": 0 }, "showArrows": { "type": "boolean", "default": true }, "arrowPosition": { "type": "string", "default": "inside", "enum": [ "inside", "outside" ] }, "arrowShowOnHover": { "type": "boolean", "default": false }, "arrowIconPrev": { "type": "object", "default": { "source": "none", "name": "", "markup": "", "url": "", "id": null } }, "arrowIconNext": { "type": "object", "default": { "source": "none", "name": "", "markup": "", "url": "", "id": null } }, "arrowSize": { "type": "object", "default": { "value": "", "unit": "px" } }, "arrowColor": { "type": "object", "default": { "light": "", "dark": "" } }, "arrowColorHover": { "type": "object", "default": { "light": "", "dark": "" } }, "arrowBackground": { "type": "object", "default": { "light": "", "dark": "" } }, "arrowBackgroundHover": { "type": "object", "default": { "light": "", "dark": "" } }, "arrowRadius": { "type": "object", "default": { "value": "", "unit": "px" } }, "arrowOffset": { "type": "object", "default": { "value": "", "unit": "px" } }, "showPagination": { "type": "boolean", "default": true }, "paginationPosition": { "type": "string", "default": "outside", "enum": [ "inside", "outside" ] }, "paginationType": { "type": "string", "default": "bullets", "enum": [ "bullets", "fraction", "progressbar" ] }, "bulletColor": { "type": "object", "default": { "light": "", "dark": "" } }, "bulletColorActive": { "type": "object", "default": { "light": "", "dark": "" } }, "bulletSize": { "type": "object", "default": { "value": "", "unit": "px" } }, "minHeight": { "type": "object", "default": { "desktop": { "value": "", "unit": "px" }, "tablet": {}, "mobile": {} } }, "spacing": { "type": "object", "default": { "desktop": { "padding": { "top": "", "right": "", "bottom": "", "left": "", "unit": "px" }, "margin": { "top": "", "right": "", "bottom": "", "left": "", "unit": "px" } }, "tablet": {}, "mobile": {} } }, "background": { "type": "object", "default": { "type": "none", "color": { "light": "", "dark": "" }, "gradient": { "light": "", "dark": "" }, "image": { "url": "", "id": null, "position": "center center", "repeat": "no-repeat", "size": "cover", "attachment": "scroll" }, "lazyLoad": false } }, "border": { "type": "object", "default": { "desktop": { "style": "", "width": { "top": "", "right": "", "bottom": "", "left": "", "unit": "px" }, "color": { "light": "", "dark": "" }, "radius": { "topLeft": "", "topRight": "", "bottomRight": "", "bottomLeft": "", "unit": "px" } }, "tablet": {}, "mobile": {} } }, "boxShadow": { "type": "object", "default": { "horizontal": "0", "vertical": "4", "blur": "12", "spread": "0", "color": { "light": "rgba(0,0,0,0.1)", "dark": "" }, "inset": false, "enabled": false } }, "advancedLayout": { "type": "object", "default": { "desktop": { "zIndex": "", "overflow": "", "position": "" }, "tablet": {}, "mobile": {} } }, "responsiveVisibility": { "type": "object", "default": { "hideOnDesktop": false, "hideOnTablet": false, "hideOnMobile": false } }, "animation": { "type": "object", "default": { "type": "none", "duration": "normal", "delay": "" } }, "htmlAttributes": { "type": "object", "default": { "customAttributes": [] } } }, "supports": { "anchor": true, "className": true, "html": false, "align": false }, "editorScript": "file:./index.js", "editorStyle": "file:./index.css", "style": "file:./style-index.css", "viewScript": "file:./view.js", "viewStyle": "file:./view.css", "render": "file:./render.php" }
Save
Cancel