deprecated
2 weeks ago
_swiper._scss
2 months ago
block.json
2 weeks ago
edit-multiItem.js
2 weeks ago
edit-slider.js
2 weeks ago
edit.js
2 days ago
icon.svg
2 months ago
index.js
2 months ago
index.php
2 months ago
loop-min-slides.js
2 months ago
pause-button.js
2 days ago
save.js
2 days ago
style.scss
2 months ago
view.js
2 days ago
block.json
120 lines
| 1 | { |
| 2 | "apiVersion": 3, |
| 3 | "name": "vk-blocks/slider", |
| 4 | "title": "Slider", |
| 5 | "description": "This slider allows you to place various items.Slider is do not move in edit screen.", |
| 6 | "textdomain": "vk-blocks", |
| 7 | "category": "vk-blocks-cat-layout", |
| 8 | "editorScriptHandles": ["vk-blocks-build-js"], |
| 9 | "editorStyleHandles": ["vk-swiper-style", "vk-blocks-build-editor-css"], |
| 10 | "attributes": { |
| 11 | "editorMode": { |
| 12 | "type": "string", |
| 13 | "default": "default" |
| 14 | }, |
| 15 | "unit": { |
| 16 | "type": "string", |
| 17 | "default": "px" |
| 18 | }, |
| 19 | "pc": { |
| 20 | "type": "number" |
| 21 | }, |
| 22 | "tablet": { |
| 23 | "type": "number" |
| 24 | }, |
| 25 | "mobile": { |
| 26 | "type": "number" |
| 27 | }, |
| 28 | "autoPlay": { |
| 29 | "type": "boolean", |
| 30 | "default": true |
| 31 | }, |
| 32 | "autoPlayStop": { |
| 33 | "type": "boolean", |
| 34 | "default": true |
| 35 | }, |
| 36 | "autoPlayDelay": { |
| 37 | "type": "number", |
| 38 | "default": 2500 |
| 39 | }, |
| 40 | "pauseButton": { |
| 41 | "type": "boolean", |
| 42 | "default": false |
| 43 | }, |
| 44 | "pagination": { |
| 45 | "type": "string", |
| 46 | "default": "bullets" |
| 47 | }, |
| 48 | "clientId": { |
| 49 | "type": "string" |
| 50 | }, |
| 51 | "width": { |
| 52 | "type": "string" |
| 53 | }, |
| 54 | "loop": { |
| 55 | "type": "boolean", |
| 56 | "default": true |
| 57 | }, |
| 58 | "effect": { |
| 59 | "type": "string", |
| 60 | "default": "slide" |
| 61 | }, |
| 62 | "speed": { |
| 63 | "type": "number", |
| 64 | "default": 500 |
| 65 | }, |
| 66 | "slidesPerView": { |
| 67 | "type": "number", |
| 68 | "default": 1 |
| 69 | }, |
| 70 | "slidesPerViewMobile": { |
| 71 | "type": "number", |
| 72 | "default": 1 |
| 73 | }, |
| 74 | "slidesPerViewTablet": { |
| 75 | "type": "number", |
| 76 | "default": 1 |
| 77 | }, |
| 78 | "slidesPerViewPC": { |
| 79 | "type": "number", |
| 80 | "default": 1 |
| 81 | }, |
| 82 | "slidesPerGroup": { |
| 83 | "type": "string", |
| 84 | "default": "one-by-one" |
| 85 | }, |
| 86 | "centeredSlides": { |
| 87 | "type": "boolean", |
| 88 | "default": false |
| 89 | }, |
| 90 | "navigationPosition": { |
| 91 | "type": "string", |
| 92 | "default": "mobile-bottom" |
| 93 | }, |
| 94 | "zoomAnimation": { |
| 95 | "type": "boolean", |
| 96 | "default": false |
| 97 | }, |
| 98 | "zoomInitialScale": { |
| 99 | "type": "number", |
| 100 | "default": 1 |
| 101 | }, |
| 102 | "zoomFinalScale": { |
| 103 | "type": "number", |
| 104 | "default": 1.25 |
| 105 | }, |
| 106 | "direction": { |
| 107 | "type": "string", |
| 108 | "default": "rtl" |
| 109 | }, |
| 110 | "blockId": { |
| 111 | "type": "string" |
| 112 | } |
| 113 | }, |
| 114 | "supports": { |
| 115 | "contentRole": true, |
| 116 | "html": false, |
| 117 | "className": true |
| 118 | } |
| 119 | } |
| 120 |