@pluginjs/thumbnails
@pluginjs/thumbnails
npm i @pluginjs/thumbnails
@pluginjs/thumbnails

@pluginjs/thumbnails

A flexible modern vanilla JavaScript plugin.

by pluginjs

0.8.13 (see all)License:GPL-3.0TypeScript:Not Found
npm i @pluginjs/thumbnails
Readme

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 / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
IE11, Edgelast 2 versionslast 2 versionslast 2 versionslast 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 (C) 2022 Creation Studio Limited.

Downloads/wk

88

GitHub Stars

12

LAST COMMIT

5mos ago

MAINTAINERS

2

CONTRIBUTORS

17

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
0.8.13
latest
1mo ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate