Never Pet Mermaids

    @pluginjs/thumbnails

    0.8.13 • Public • Published

    Thumbnails

    npm package

    A flexible modern thumbnails js plugin.

    Samples

    Introduction

    Installation

    Yarn

    yarn add @pluginjs/thumbnails

    NPM

    npm i @pluginjs/thumbnails

    Getting Started

    CDN:

    Development:

    <script src="https://unpkg.com/@pluginjs/thumbnails/dist/thumbnails.js"></script>
    <link rel="stylesheet" href="https://unpkg.com/@pluginjs/thumbnails/dist/thumbnails.css">

    Production:

    <script src="https://unpkg.com/@pluginjs/thumbnails/dist/thumbnails.min.js"></script>
    <link rel="stylesheet" href="https://unpkg.com/@pluginjs/thumbnails/dist/thumbnails.min.css">

    Initialize

    HTML:

    <div class="element"></div>

    ECMAScript Module:

    import Thumbnails from "@pluginjs/thumbnails"
    import "@pluginjs/thumbnails/dist/thumbnails.css"
    
    Thumbnails.of(document.querySelector('.element'), options)

    CommonJS:

    require("@pluginjs/thumbnails/dist/thumbnails.css")
    const Thumbnails = require("@pluginjs/thumbnails")
    
    Thumbnails.of(document.querySelector('.element'), options)

    Browser:

    <link rel="stylesheet" href="https://unpkg.com/@pluginjs/thumbnails/dist/thumbnails.css">
    <script src="https://unpkg.com/@pluginjs/thumbnails/dist/thumbnails.js"></script>
    <script>
      Pj.thumbnails('.element', options)
    </script>

    Browser support

    Tested on all major browsers.

    IE / EdgeIE / Edge FirefoxFirefox ChromeChrome SafariSafari OperaOpera
    IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions

    License

    @pluginjs/thumbnails is Licensed under the GPL-v3 license.

    If you want to use @pluginjs/thumbnails project to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license. With this option, your source code is kept proprietary.

    For purchase an Commercial License, contact us purchase@thecreation.co.

    Copyright

    Copyright (C) 2022 Creation Studio Limited.

    Keywords

    none

    Install

    npm i @pluginjs/thumbnails

    Homepage

    pluginjs.com

    DownloadsWeekly Downloads

    2

    Version

    0.8.13

    License

    GPL-3.0

    Unpacked Size

    109 kB

    Total Files

    13

    Last publish

    Collaborators

    • thecreation
    • kaptinlin