@m3e/slide-group 1.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/README.md +116 -0
- package/cem.config.mjs +16 -0
- package/dist/css-custom-data.json +27 -0
- package/dist/custom-elements.json +260 -0
- package/dist/html-custom-data.json +38 -0
- package/dist/index.js +355 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +120 -0
- package/dist/index.min.js.map +1 -0
- package/dist/src/SlideGroupElement.d.ts +90 -0
- package/dist/src/SlideGroupElement.d.ts.map +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -0
- package/eslint.config.mjs +13 -0
- package/package.json +49 -0
- package/rollup.config.js +32 -0
- package/src/SlideGroupElement.ts +253 -0
- package/src/index.ts +1 -0
- package/tsconfig.json +9 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 matraic
|
|
4
|
+
Contact: matraic@yahoo.com
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# @m3e/slide-group
|
|
2
|
+
|
|
3
|
+
The `m3e-slide-group` component presents directional pagination controls for navigating overflowing content. It orchestrates scrollable layouts with expressive slot-based icons and adaptive orientation, revealing navigation affordances only when content exceeds a defined threshold. It supports both horizontal and vertical flows, and encodes accessibility through customizable labels and interaction states.
|
|
4
|
+
|
|
5
|
+
> **Part of the [M3E](../../README.md) monorepo**
|
|
6
|
+
> This package is maintained within the unified M3E repository, which provides a suite of Material 3 web components.
|
|
7
|
+
|
|
8
|
+
## ๐ฆ Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @m3e/slide-group
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## ๐ป Editor Integration
|
|
15
|
+
|
|
16
|
+
This package includes a [Custom Elements Manifest](https://github.com/webcomponents/custom-elements-manifest) to support enhanced editor tooling and developer experience.
|
|
17
|
+
|
|
18
|
+
### Visual Studio Code
|
|
19
|
+
|
|
20
|
+
To enable autocomplete and hover documentation for `@m3e/slide-group`, install the [Custom Elements Manifest Language Server](https://marketplace.visualstudio.com/items?itemName=pwrs.cem-language-server-vscode) extension. It will automatically detect the manifest bundled with this package and surface tag names, attributes, slots, and events in supported files.
|
|
21
|
+
|
|
22
|
+
Alternately, you can explicitly reference the `html-custom-data.json` and `css-custom-data.json` in your workspace settings:
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"html.customData": ["./node_modules/@m3e/slide-group/dist/html-custom-data.json"],
|
|
27
|
+
"css.customData": ["./node_modules/@m3e/slide-group/dist/css-custom-data.json"]
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## ๐ Browser Usage
|
|
32
|
+
|
|
33
|
+
This package uses [JavaScript Modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#module_specifiers). To use it directly in a browser without a bundler, use a module script similar to the following.
|
|
34
|
+
|
|
35
|
+
```html
|
|
36
|
+
<script type="module" src="/node_modules/@m3e/slide-group/dist/index.js"></script>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
You also need a module script for `@m3e/icon-button` due to it being a dependency.
|
|
40
|
+
|
|
41
|
+
```html
|
|
42
|
+
<script type="module" src="/node_modules/@m3e/icon-button/dist/index.js"></script>
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
In addition, you must use an [import map](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/script/type/importmap) to include dependencies.
|
|
46
|
+
|
|
47
|
+
```html
|
|
48
|
+
<script type="importmap">
|
|
49
|
+
{
|
|
50
|
+
"imports": {
|
|
51
|
+
"lit": "https://cdn.jsdelivr.net/npm/lit@3.3.0/+esm",
|
|
52
|
+
"@m3e/core": "/node_modules/@m3e/core/dist/index.js"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
</script>
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
> For production, use index.min.js for faster load times.
|
|
59
|
+
|
|
60
|
+
## ๐๏ธ Elements
|
|
61
|
+
|
|
62
|
+
- `m3e-slide-group` โ Presents pagination controls used to scroll overflowing content.
|
|
63
|
+
|
|
64
|
+
## ๐งช Examples
|
|
65
|
+
|
|
66
|
+
- The following example illustrates a horizontally scrollable group of items with directional pagination buttons.
|
|
67
|
+
The scroll controls appear when content exceeds the `48px` threshold.
|
|
68
|
+
|
|
69
|
+
```html
|
|
70
|
+
<m3e-slide-group threshold="48">
|
|
71
|
+
<div>Item 1</div>
|
|
72
|
+
<div>Item 2</div>
|
|
73
|
+
<div>Item 3</div>
|
|
74
|
+
<div>Item 4</div>
|
|
75
|
+
<div>Item 5</div>
|
|
76
|
+
</m3e-slide-group>
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## ๐ API Reference
|
|
80
|
+
|
|
81
|
+
This section details the attributes, slots and CSS custom properties available for the `m3e-slide-group` component.
|
|
82
|
+
|
|
83
|
+
### โ๏ธ Attributes
|
|
84
|
+
|
|
85
|
+
| Attribute | Type | Default | Description |
|
|
86
|
+
| --------------------- | --------- | ----------------- | -------------------------------------------------------------------------------------------------- |
|
|
87
|
+
| `disabled` | `boolean` | `false` | Whether scroll buttons are disabled. |
|
|
88
|
+
| `next-page-label` | `string` | `"Next page"` | The accessible label given to the button used to move to the previous page. |
|
|
89
|
+
| `previous-page-label` | `string` | `"Previous page"` | The accessible label given to the button used to move to the next page. |
|
|
90
|
+
| `threshold` | `number` | `0` | A value, in pixels, indicating the scroll threshold at which to begin showing pagination controls. |
|
|
91
|
+
| `vertical` | `boolean` | `false` | Whether content is oriented vertically. |
|
|
92
|
+
|
|
93
|
+
#### ๐งฉ Slots
|
|
94
|
+
|
|
95
|
+
| Slot | Description |
|
|
96
|
+
| ----------- | ---------------------------------------------------- |
|
|
97
|
+
| _(default)_ | Renders the content to paginate. |
|
|
98
|
+
| `next-icon` | Renders the icon to present for the next button. |
|
|
99
|
+
| `prev-icon` | Renders the icon to present for the previous button. |
|
|
100
|
+
|
|
101
|
+
### ๐๏ธ CSS Custom Properties
|
|
102
|
+
|
|
103
|
+
| Property | Description |
|
|
104
|
+
| ------------------------------------ | ----------------------------------------------------------------------------- |
|
|
105
|
+
| `--m3e-slide-group-button-icon-size` | Sets icon size for scroll buttons; overrides default small icon size. |
|
|
106
|
+
| `--m3e-slide-group-button-size` | Defines scroll button size; used for width (horizontal) or height (vertical). |
|
|
107
|
+
| `--m3e-slide-group-divider-top` | Adds top border to content container for visual separation. |
|
|
108
|
+
| `--m3e-slide-group-divider-bottom` | Adds bottom border to content container for visual separation. |
|
|
109
|
+
|
|
110
|
+
## ๐ค Contributing
|
|
111
|
+
|
|
112
|
+
See the root monorepo `CONTRIBUTING.md` for guidelines on contributing to this package.
|
|
113
|
+
|
|
114
|
+
## ๐ License
|
|
115
|
+
|
|
116
|
+
This package is licensed under the MIT License.
|
package/cem.config.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { customElementVsCodePlugin } from "custom-element-vs-code-integration";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
globs: ["src/**/*.ts"],
|
|
5
|
+
exclude: ["src/**/*.spec.ts"],
|
|
6
|
+
packagejson: true,
|
|
7
|
+
outdir: "dist",
|
|
8
|
+
litelement: true,
|
|
9
|
+
plugins: [
|
|
10
|
+
customElementVsCodePlugin({
|
|
11
|
+
outdir: "dist",
|
|
12
|
+
htmlFileName: "html-custom-data.json",
|
|
13
|
+
cssFileName: "css-custom-data.json",
|
|
14
|
+
}),
|
|
15
|
+
],
|
|
16
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/microsoft/vscode-css-languageservice/main/docs/customData.schema.json",
|
|
3
|
+
"version": 1.1,
|
|
4
|
+
"properties": [
|
|
5
|
+
{
|
|
6
|
+
"name": "--m3e-slide-group-button-icon-size",
|
|
7
|
+
"description": "Sets icon size for scroll buttons; overrides default small icon size.",
|
|
8
|
+
"values": []
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "--m3e-slide-group-button-size",
|
|
12
|
+
"description": "Defines scroll button size; used for width (horizontal) or height (vertical).",
|
|
13
|
+
"values": []
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "--m3e-slide-group-divider-top",
|
|
17
|
+
"description": "Adds top border to content container for visual separation.",
|
|
18
|
+
"values": []
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "--m3e-slide-group-divider-bottom",
|
|
22
|
+
"description": "Adds bottom border to content container for visual separation.",
|
|
23
|
+
"values": []
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"pseudoElements": []
|
|
27
|
+
}
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "src/index.ts",
|
|
8
|
+
"declarations": [],
|
|
9
|
+
"exports": [
|
|
10
|
+
{
|
|
11
|
+
"kind": "js",
|
|
12
|
+
"name": "*",
|
|
13
|
+
"declaration": {
|
|
14
|
+
"name": "*",
|
|
15
|
+
"package": "\"./SlideGroupElement\""
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"kind": "javascript-module",
|
|
22
|
+
"path": "src/SlideGroupElement.ts",
|
|
23
|
+
"declarations": [
|
|
24
|
+
{
|
|
25
|
+
"kind": "class",
|
|
26
|
+
"description": "",
|
|
27
|
+
"name": "M3eSlideGroupElement",
|
|
28
|
+
"cssProperties": [
|
|
29
|
+
{
|
|
30
|
+
"description": "Sets icon size for scroll buttons; overrides default small icon size.",
|
|
31
|
+
"name": "--m3e-slide-group-button-icon-size"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"description": "Defines scroll button size; used for width (horizontal) or height (vertical).",
|
|
35
|
+
"name": "--m3e-slide-group-button-size"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"description": "Adds top border to content container for visual separation.",
|
|
39
|
+
"name": "--m3e-slide-group-divider-top"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"description": "Adds bottom border to content container for visual separation.",
|
|
43
|
+
"name": "--m3e-slide-group-divider-bottom"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"slots": [
|
|
47
|
+
{
|
|
48
|
+
"description": "Renders the content to paginate.",
|
|
49
|
+
"name": ""
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"description": "Renders the icon to present for the next button.",
|
|
53
|
+
"name": "next-icon"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"description": "Renders the icon to present for the previous button.",
|
|
57
|
+
"name": "prev-icon"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"members": [
|
|
61
|
+
{
|
|
62
|
+
"kind": "field",
|
|
63
|
+
"name": "#resizeController",
|
|
64
|
+
"privacy": "private",
|
|
65
|
+
"readonly": true,
|
|
66
|
+
"default": "new ResizeController(this, { target: null, callback: () => this._updatePaging(), })"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"kind": "field",
|
|
70
|
+
"name": "_canPage",
|
|
71
|
+
"type": {
|
|
72
|
+
"text": "boolean"
|
|
73
|
+
},
|
|
74
|
+
"privacy": "private",
|
|
75
|
+
"default": "false"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"kind": "field",
|
|
79
|
+
"name": "_canPageStart",
|
|
80
|
+
"type": {
|
|
81
|
+
"text": "boolean"
|
|
82
|
+
},
|
|
83
|
+
"privacy": "private",
|
|
84
|
+
"default": "false"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"kind": "field",
|
|
88
|
+
"name": "_canPageEnd",
|
|
89
|
+
"type": {
|
|
90
|
+
"text": "boolean"
|
|
91
|
+
},
|
|
92
|
+
"privacy": "private",
|
|
93
|
+
"default": "false"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"kind": "field",
|
|
97
|
+
"name": "disabled",
|
|
98
|
+
"type": {
|
|
99
|
+
"text": "boolean"
|
|
100
|
+
},
|
|
101
|
+
"default": "false",
|
|
102
|
+
"description": "Whether scroll buttons are disabled.",
|
|
103
|
+
"attribute": "disabled",
|
|
104
|
+
"reflects": true
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"kind": "field",
|
|
108
|
+
"name": "vertical",
|
|
109
|
+
"type": {
|
|
110
|
+
"text": "boolean"
|
|
111
|
+
},
|
|
112
|
+
"default": "false",
|
|
113
|
+
"description": "Whether content is oriented vertically.",
|
|
114
|
+
"attribute": "vertical",
|
|
115
|
+
"reflects": true
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"kind": "field",
|
|
119
|
+
"name": "threshold",
|
|
120
|
+
"type": {
|
|
121
|
+
"text": "number"
|
|
122
|
+
},
|
|
123
|
+
"default": "0",
|
|
124
|
+
"description": "A value, in pixels, indicating the scroll threshold at which to begin showing pagination controls.",
|
|
125
|
+
"attribute": "threshold"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"kind": "field",
|
|
129
|
+
"name": "previousPageLabel",
|
|
130
|
+
"type": {
|
|
131
|
+
"text": "string"
|
|
132
|
+
},
|
|
133
|
+
"default": "\"Previous page\"",
|
|
134
|
+
"description": "The accessible label given to the button used to move to the previous page.",
|
|
135
|
+
"attribute": "previous-page-label"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"kind": "field",
|
|
139
|
+
"name": "nextPageLabel",
|
|
140
|
+
"type": {
|
|
141
|
+
"text": "string"
|
|
142
|
+
},
|
|
143
|
+
"default": "\"Next page\"",
|
|
144
|
+
"description": "The accessible label given to the button used to move to the next page.",
|
|
145
|
+
"attribute": "next-page-label"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"kind": "method",
|
|
149
|
+
"name": "#pageStart",
|
|
150
|
+
"privacy": "private",
|
|
151
|
+
"return": {
|
|
152
|
+
"type": {
|
|
153
|
+
"text": "void"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"kind": "method",
|
|
159
|
+
"name": "#pageEnd",
|
|
160
|
+
"privacy": "private",
|
|
161
|
+
"return": {
|
|
162
|
+
"type": {
|
|
163
|
+
"text": "void"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"kind": "method",
|
|
169
|
+
"name": "_updatePaging",
|
|
170
|
+
"privacy": "private",
|
|
171
|
+
"return": {
|
|
172
|
+
"type": {
|
|
173
|
+
"text": "void"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"attributes": [
|
|
179
|
+
{
|
|
180
|
+
"description": "Whether scroll buttons are disabled.",
|
|
181
|
+
"name": "disabled",
|
|
182
|
+
"type": {
|
|
183
|
+
"text": "boolean"
|
|
184
|
+
},
|
|
185
|
+
"default": "false",
|
|
186
|
+
"fieldName": "disabled"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"description": "The accessible label given to the button used to move to the next page.",
|
|
190
|
+
"name": "next-page-label",
|
|
191
|
+
"type": {
|
|
192
|
+
"text": "string"
|
|
193
|
+
},
|
|
194
|
+
"default": "\"Next page\"",
|
|
195
|
+
"fieldName": "nextPageLabel"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"description": "The accessible label given to the button used to move to the previous page.",
|
|
199
|
+
"name": "previous-page-label",
|
|
200
|
+
"type": {
|
|
201
|
+
"text": "string"
|
|
202
|
+
},
|
|
203
|
+
"default": "\"Previous page\"",
|
|
204
|
+
"fieldName": "previousPageLabel"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"description": "A value, in pixels, indicating the scroll threshold at which to begin showing pagination controls.",
|
|
208
|
+
"name": "threshold",
|
|
209
|
+
"type": {
|
|
210
|
+
"text": "number"
|
|
211
|
+
},
|
|
212
|
+
"default": "0",
|
|
213
|
+
"fieldName": "threshold"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"description": "Whether content is oriented vertically.",
|
|
217
|
+
"name": "vertical",
|
|
218
|
+
"type": {
|
|
219
|
+
"text": "boolean"
|
|
220
|
+
},
|
|
221
|
+
"default": "false",
|
|
222
|
+
"fieldName": "vertical"
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"mixins": [
|
|
226
|
+
{
|
|
227
|
+
"name": "Role",
|
|
228
|
+
"package": "@m3e/core"
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"superclass": {
|
|
232
|
+
"name": "LitElement",
|
|
233
|
+
"package": "lit"
|
|
234
|
+
},
|
|
235
|
+
"tagName": "m3e-slide-group",
|
|
236
|
+
"customElement": true,
|
|
237
|
+
"summary": "Presents pagination controls used to scroll overflowing content."
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
"exports": [
|
|
241
|
+
{
|
|
242
|
+
"kind": "js",
|
|
243
|
+
"name": "M3eSlideGroupElement",
|
|
244
|
+
"declaration": {
|
|
245
|
+
"name": "M3eSlideGroupElement",
|
|
246
|
+
"module": "src/SlideGroupElement.ts"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"kind": "custom-element-definition",
|
|
251
|
+
"name": "m3e-slide-group",
|
|
252
|
+
"declaration": {
|
|
253
|
+
"name": "M3eSlideGroupElement",
|
|
254
|
+
"module": "src/SlideGroupElement.ts"
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
|
|
3
|
+
"version": 1.1,
|
|
4
|
+
"tags": [
|
|
5
|
+
{
|
|
6
|
+
"name": "m3e-slide-group",
|
|
7
|
+
"description": "Presents pagination controls used to scroll overflowing content.\n---\n\n\n### **Slots:**\n - _default_ - Renders the content to paginate.\n- **next-icon** - Renders the icon to present for the next button.\n- **prev-icon** - Renders the icon to present for the previous button.\n\n### **CSS Properties:**\n - **--m3e-slide-group-button-icon-size** - Sets icon size for scroll buttons; overrides default small icon size. _(default: undefined)_\n- **--m3e-slide-group-button-size** - Defines scroll button size; used for width (horizontal) or height (vertical). _(default: undefined)_\n- **--m3e-slide-group-divider-top** - Adds top border to content container for visual separation. _(default: undefined)_\n- **--m3e-slide-group-divider-bottom** - Adds bottom border to content container for visual separation. _(default: undefined)_",
|
|
8
|
+
"attributes": [
|
|
9
|
+
{
|
|
10
|
+
"name": "disabled",
|
|
11
|
+
"description": "Whether scroll buttons are disabled.",
|
|
12
|
+
"values": []
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "next-page-label",
|
|
16
|
+
"description": "The accessible label given to the button used to move to the next page.",
|
|
17
|
+
"values": []
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "previous-page-label",
|
|
21
|
+
"description": "The accessible label given to the button used to move to the previous page.",
|
|
22
|
+
"values": []
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "threshold",
|
|
26
|
+
"description": "A value, in pixels, indicating the scroll threshold at which to begin showing pagination controls.",
|
|
27
|
+
"values": []
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "vertical",
|
|
31
|
+
"description": "Whether content is oriented vertically.",
|
|
32
|
+
"values": []
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"references": []
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|