lightbox-module

0.0.2 • Public • Published

Install

  1. Via NPM:

Install NPM package - https://www.npmjs.com/package/lightbox-module:

npm i lightbox-module
  1. The other way, you also can inject lightbox.js file into your HTML code:
<script src="/path/to/dist/lightbox.js"></script>

Usages

svelte example

<script lang="ts">
  import { onMount } from "svelte";
  import lighbox from "lightbox-module";

  onMount(() => {
    lighbox();
  });
</script>

Development

$ yarn install
$ yarn dev

Build

$ yarn build

or:

$ npm run build

The dist folder is automatically created and include file lightbox.min.js

Licence

[MIT]

/lightbox-module/

    Package Sidebar

    Install

    npm i lightbox-module

    Weekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    9.77 kB

    Total Files

    7

    Last publish

    Collaborators

    • mgisolutions