1 | {
|
2 | "version": "experimental",
|
3 | "tags": [
|
4 | {
|
5 | "name": "light-gallery-demo",
|
6 | "path": "./../src/lightgallery-demo.ts",
|
7 | "attributes": [
|
8 | {
|
9 | "name": "list",
|
10 | "type": "{ id: string; size: string; src: string; thumb: string; subHtml: string; }[]",
|
11 | "default": "[{\"id\":\"1\",\"size\":\"1400-933\",\"src\":\"https://images.unsplash.com/photo-1542103749-8ef59b94f47e?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1400&q=80\",\"thumb\":\"https://images.unsplash.com/photo-1542103749-8ef59b94f47e?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=240&q=80\",\"subHtml\":\"<div class=\\\"lightGallery-captions\\\">\\n <h4>Photo by <a href=\\\"https://unsplash.com/@dann\\\">Dan</a></h4>\\n <p>Published on November 13, 2018</p>\\n </div>\"},{\"id\":\"2\",\"size\":\"1400-933\",\"src\":\"https://images.unsplash.com/photo-1473876988266-ca0860a443b8?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1400&q=80\",\"thumb\":\"https://images.unsplash.com/photo-1473876988266-ca0860a443b8?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=240&q=80\",\"subHtml\":\"<div class=\\\"lightGallery-captions\\\">\\n <h4>Photo by <a href=\\\"https://unsplash.com/@kylepyt\\\">Kyle Peyton</a></h4>\\n <p>Published on September 14, 2016</p>\\n </div>\"}]"
|
12 | }
|
13 | ],
|
14 | "properties": [
|
15 | {
|
16 | "name": "gallery"
|
17 | },
|
18 | {
|
19 | "name": "list",
|
20 | "attribute": "list",
|
21 | "type": "{ id: string; size: string; src: string; thumb: string; subHtml: string; }[]",
|
22 | "default": "[{\"id\":\"1\",\"size\":\"1400-933\",\"src\":\"https://images.unsplash.com/photo-1542103749-8ef59b94f47e?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1400&q=80\",\"thumb\":\"https://images.unsplash.com/photo-1542103749-8ef59b94f47e?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=240&q=80\",\"subHtml\":\"<div class=\\\"lightGallery-captions\\\">\\n <h4>Photo by <a href=\\\"https://unsplash.com/@dann\\\">Dan</a></h4>\\n <p>Published on November 13, 2018</p>\\n </div>\"},{\"id\":\"2\",\"size\":\"1400-933\",\"src\":\"https://images.unsplash.com/photo-1473876988266-ca0860a443b8?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1400&q=80\",\"thumb\":\"https://images.unsplash.com/photo-1473876988266-ca0860a443b8?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=240&q=80\",\"subHtml\":\"<div class=\\\"lightGallery-captions\\\">\\n <h4>Photo by <a href=\\\"https://unsplash.com/@kylepyt\\\">Kyle Peyton</a></h4>\\n <p>Published on September 14, 2016</p>\\n </div>\"}]"
|
23 | },
|
24 | {
|
25 | "name": "renderRoot",
|
26 | "description": "Node or ShadowRoot into which element DOM should be rendered. Defaults\nto an open shadowRoot.",
|
27 | "type": "HTMLElement | ShadowRoot"
|
28 | },
|
29 | {
|
30 | "name": "isUpdatePending",
|
31 | "type": "boolean"
|
32 | },
|
33 | {
|
34 | "name": "hasUpdated",
|
35 | "type": "boolean"
|
36 | },
|
37 | {
|
38 | "name": "updateComplete",
|
39 | "description": "Returns a Promise that resolves when the element has completed updating.\nThe Promise value is a boolean that is `true` if the element completed the\nupdate without triggering another update. The Promise result is `false` if\na property was set inside `updated()`. If the Promise is rejected, an\nexception was thrown during the update.\n\nTo await additional asynchronous work, override the `getUpdateComplete`\nmethod. For example, it is sometimes useful to await a rendered element\nbefore fulfilling this Promise. To do this, first await\n`super.getUpdateComplete()`, then any subsequent state.",
|
40 | "type": "Promise<boolean>"
|
41 | }
|
42 | ]
|
43 | },
|
44 | {
|
45 | "name": "light-gallery",
|
46 | "path": "./../src/lightgallery.ts",
|
47 | "attributes": [
|
48 | {
|
49 | "name": "settings",
|
50 | "type": "Partial<LightGalleryAllSettings>",
|
51 | "default": "{}"
|
52 | }
|
53 | ],
|
54 | "properties": [
|
55 | {
|
56 | "name": "settings",
|
57 | "attribute": "settings",
|
58 | "type": "Partial<LightGalleryAllSettings>",
|
59 | "default": "{}"
|
60 | },
|
61 | {
|
62 | "name": "renderRoot",
|
63 | "description": "Node or ShadowRoot into which element DOM should be rendered. Defaults\nto an open shadowRoot.",
|
64 | "type": "HTMLElement | ShadowRoot"
|
65 | },
|
66 | {
|
67 | "name": "isUpdatePending",
|
68 | "type": "boolean"
|
69 | },
|
70 | {
|
71 | "name": "hasUpdated",
|
72 | "type": "boolean"
|
73 | },
|
74 | {
|
75 | "name": "updateComplete",
|
76 | "description": "Returns a Promise that resolves when the element has completed updating.\nThe Promise value is a boolean that is `true` if the element completed the\nupdate without triggering another update. The Promise result is `false` if\na property was set inside `updated()`. If the Promise is rejected, an\nexception was thrown during the update.\n\nTo await additional asynchronous work, override the `getUpdateComplete`\nmethod. For example, it is sometimes useful to await a rendered element\nbefore fulfilling this Promise. To do this, first await\n`super.getUpdateComplete()`, then any subsequent state.",
|
77 | "type": "Promise<boolean>"
|
78 | }
|
79 | ]
|
80 | }
|
81 | ]
|
82 | } |
\ | No newline at end of file |