MCPcopy
hub / github.com/glidejs/glide

github.com/glidejs/glide @v3.7.1 sqlite

repository ↗ · DeepWiki ↗ · release v3.7.1 ↗
185 symbols 412 edges 60 files 144 documented · 78%
README

glide.js

Glide.js is a dependency-free JavaScript ES6 slider and carousel. It’s lightweight, flexible and fast. Designed to slide. No less, no more

Build Status

What can convince you: - Dependency-free. Everything included, ready for action. - Lightweight. Only ~23kb (~7kb gzipped) with every functionality on board. - Modular. Remove unused modules and drop script weight even more. - Extendable. Plug-in your own modules with additional functionalities. - Bundlers ready. Using Rollup or Webpack? We have your back.

Documentation

Visit glidejs.com for documentation.

Looking for old documentation? Wiki contains archived documentation of Glide.js in version ^2.0.0.

Donation

Glide.js is an open source project licensed under the MIT license. It's completely free to use. However, it would be great if you buy me a cup of coffee once in a while to keep me awake :)

Getting started

Pull-in a latest version with NPM ...

npm install @glidejs/glide

... provide <link> to the required core stylesheet. You can also optionally add an included theme stylesheet ...


<link rel="stylesheet" href="https://github.com/glidejs/glide/raw/v3.7.1/node_modules/@glidejs/glide/dist/css/glide.core.min.css">


<link rel="stylesheet" href="https://github.com/glidejs/glide/raw/v3.7.1/node_modules/@glidejs/glide/dist/css/glide.theme.min.css">

... then, prepare a little bit of necessary markup ...







    <ul class="glide__slides">
      <li class="glide__slide"></li>
      <li class="glide__slide"></li>
      <li class="glide__slide"></li>
    </ul>






... and finally, initialize and mount a Glide.

import Glide from '@glidejs/glide'

new Glide('.glide').mount()

Need a few selected modules? Import and mount only what you need.

import Glide, { Controls, Breakpoints } from '@glidejs/glide/dist/glide.modular.esm'

new Glide('.glide').mount({ Controls, Breakpoints })

Contributing

The issue channel is especially for improvement proposals and bug reporting. If you have implementing problems, please write on StackOverflow with glidejs tag.

Browser Support

  • IE 11+
  • Edge
  • Chrome 10+
  • Firefox 10+
  • Opera 15+
  • Safari 5.1+
  • Safari iOS 9+

Building

Build using NPM scripts. The following scripts are available: - build:css - Outputs CSS files from SASS files. - build:js - Outputs all destination variants of the script. - build - Comprehensively builds the entire library. - test - Runs complete test suite. - lint - Lints library JavaScript files.

Credits

License

Copyright (c) 2014-present, Jędrzej Chałubek. Licensed under the terms of the MIT License.

Core symbols most depended-on inside this repo

mount
called by 83
src/index.js
on
called by 57
src/core/event/events-bus.js
query
called by 50
tests/fixtures/query.js
go
called by 41
src/index.js
afterTransition
called by 31
tests/fixtures/transition.js
on
called by 25
src/index.js
define
called by 25
src/utils/object.js
emit
called by 22
src/core/event/events-bus.js

Shape

Function 148
Method 27
Class 10

Languages

TypeScript100%

Modules by API surface

src/index.js19 symbols
src/components/swipe.js14 symbols
src/components/controls.js14 symbols
src/components/run.js13 symbols
src/utils/unit.js8 symbols
src/components/autoplay.js8 symbols
src/components/transition.js7 symbols
src/components/direction.js7 symbols
src/components/anchors.js7 symbols
src/core/event/events-bus.js6 symbols
src/core/event/events-binder.js6 symbols
src/components/clones.js5 symbols

Dependencies from manifests, versioned

@babel/core7.16.0 · 1×
@babel/preset-env7.16.4 · 1×
@rollup/plugin-babel5.3.0 · 1×
babel-jest27.3.1 · 1×
eslint8.3.0 · 1×
eslint-config-standard12.0.0 · 1×
eslint-plugin-import2.18.0 · 1×
eslint-plugin-node7.0.0 · 1×
eslint-plugin-promise4.0.0 · 1×
eslint-plugin-standard4.0.0 · 1×
jest27.3.1 · 1×
jsdom18.1.0 · 1×

For agents

$ claude mcp add glide \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact