Skip to content

Commit

Permalink
fix #52 #55
Browse files Browse the repository at this point in the history
  • Loading branch information
ts-thomas committed Jun 14, 2021
1 parent 784a555 commit 69edf5b
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 47 deletions.
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Spotlight runs out of the box:
- Zoom in/out
- Toggle resize
- Switch theme
- Autoplay
- Autoslide
- Download
- Progress Bar
- Page
Expand Down Expand Up @@ -94,8 +94,8 @@ __Get Latest Stable Build (Recommended):__
</tr>
<tr>
<td>spotlight.bundle.js</td>
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.7/dist/spotlight.bundle.js" target="_blank">Download</a></td>
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/dist/spotlight.bundle.js" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/dist/spotlight.bundle.js</a></td>
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.8/dist/spotlight.bundle.js" target="_blank">Download</a></td>
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/dist/spotlight.bundle.js" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/dist/spotlight.bundle.js</a></td>
</tr>
<tr>
<td colspan=3">
Expand All @@ -104,14 +104,14 @@ __Get Latest Stable Build (Recommended):__
</tr>
<tr>
<td>spotlight.min.js</td>
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.7/dist/js/spotlight.min.js" target="_blank">Download</a></td>
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/dist/js/spotlight.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/dist/js/spotlight.min.js</a></td>
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.8/dist/js/spotlight.min.js" target="_blank">Download</a></td>
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/dist/js/spotlight.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/dist/js/spotlight.min.js</a></td>
</tr>
<tr></tr>
<tr>
<td>spotlight.min.css</td>
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.7/dist/css/spotlight.min.css" target="_blank">Download</a></td>
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/dist/css/spotlight.min.css" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/dist/css/spotlight.min.css</a></td>
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.8/dist/css/spotlight.min.css" target="_blank">Download</a></td>
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/dist/css/spotlight.min.css" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/dist/css/spotlight.min.css</a></td>
</tr>
<tr>
<td colspan=3">
Expand All @@ -120,25 +120,25 @@ __Get Latest Stable Build (Recommended):__
</tr>
<tr>
<td>ES6 Modules</td>
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.7/src/js" target="_blank">Download</a></td>
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.8/src/js" target="_blank">Download</a></td>
<td>The <i>/src/js</i> folder of this Github repository</td>
</tr>
<tr></tr>
<tr>
<td>LESS Files (source)</td>
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.7/src/css" target="_blank">Download</a></td>
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.8/src/css" target="_blank">Download</a></td>
<td>The <i>/src/css</i> folder of this Github repository</td>
</tr>
<tr></tr>
<tr>
<td>spotlight.css (compiled)</td>
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.7/src/css/spotlight.css" target="_blank">Download</a></td>
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/src/css/spotlight.css" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/src/css/spotlight.css</a></td>
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.8/src/css/spotlight.css" target="_blank">Download</a></td>
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/src/css/spotlight.css" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/src/css/spotlight.css</a></td>
</tr>
<tr></tr>
<tr>
<td>src.zip</td>
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.7/dist" target="_blank">Download</a></td>
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.8/dist" target="_blank">Download</a></td>
<td>Download all source files including image original resources.</td>
</tr>
</table>
Expand All @@ -151,7 +151,7 @@ npm install spotlight.js

__Get Latest Nightly (Do not use for production!):__

Just exchange the version number from the URLs above with "master", e.g.: "/spotlight/__0.7.7__/dist/" into "/spotlight/__master__/dist".
Just exchange the version number from the URLs above with "master", e.g.: "/spotlight/__0.7.8__/dist/" into "/spotlight/__master__/dist".

> If you are using markup on anchor elements to inject the library, then it is recommended to load the lib inside your head section of the document. Because that will better prevent the original behavior of the anchor tag (e.g. when library wasn't fully loaded on page start).
Expand Down Expand Up @@ -232,7 +232,7 @@ You can also load modules via CDN, e.g.:

```html
<script type="module">
import Spotlight from "https://unpkg.com/spotlight@0.7.7/src/js/spotlight.js";
import Spotlight from "https://unpkg.com/spotlight@0.7.8/src/js/spotlight.js";
</script>
```

Expand Down Expand Up @@ -464,21 +464,21 @@ When using API the ___spotlight-group___ is represented by the options payload,
<tr>
<td>play</td>
<td>true / false / number</td>
<td>Show/hide play button, also set delay in seconds between each tick</td>
<td>Show/hide play button. When passing a numeric value it will be used as a delay in seconds between each tick.</td>
<td>false</td>
</tr>
<tr></tr>
<tr>
<td>autoplay</td>
<td>autoslide</td>
<td>true / false</td>
<td>Autoplay when opening gallery (also requires the option <b>play</b> to be set)</td>
<td>Autoslide when opening gallery.</td>
<td>false</td>
</tr>
<tr></tr>
<tr>
<td>progress</td>
<td>true / false</td>
<td>Show/hide the animated autoplay progress bar</td>
<td>Show/hide the animated autoslide progress bar</td>
<td>true</td>
</tr>
<tr></tr>
Expand Down Expand Up @@ -1477,5 +1477,5 @@ The final build is located in the `dist/` folder.

---

Copyright 2019 Nextapps GmbH<br>
Copyright 2019-2021 Nextapps GmbH<br>
Released under the <a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">Apache 2.0 License</a><br>
2 changes: 1 addition & 1 deletion dist/css/spotlight.min.css

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/js/spotlight.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 69edf5b

Please sign in to comment.