Skip to content

yucomds/grapesjs-bootstrap3-carousel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GrapesJS Plugin Bootsrap 4 Carousel

Options

Option Description Default
prefixName Prefix bst-carousel
gridsCategory Grids category name Extra
autoplay If the carousel begin moving true
interval Interval to move the slides in ms 5000
showCaptions Should show captions true
showIndicator Should show indicator true

Usage

<link href="https://unpkg.com/grapesjs/dist/css/grapes.min.css" rel="stylesheet"/>
<script src="https://unpkg.com/grapesjs"></script>
<script src="path/to/grapesjs-bootstrap4-carousel-plugin.min.js"></script>

<div id="gjs"></div>

<script type="text/javascript">
  var editor = grapesjs.init({
      container : '#gjs',
      ...
      plugins: ['grapesjs-plugin-carousel'],
  });
</script>

Development

Clone the repository

$ git clone https://github.com/yucomds/grapesjs-bootstrap3-carousel.git
$ cd grapesjs-plugins-carousel

Install dependencies

$ npm i

The plugin relies on GrapesJS via peerDependencies so you have to install it manually (without adding it to package.json)

$ npm i grapesjs --no-save

Start the dev server

$ npm start

License

BSD 3-Clause

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.2%
  • HTML 1.8%