# @andy5566/carousel_emomo

> ## 如何使用 ```bash npm i @andy5566/carousel_emomo ``` or ```bash yarn add @andy5566/carousel_emomo ``` main.js ```javascript import '@andy5566/carousel_emomo/carousel_emomo' ```

Latest version **1.1.3** (published 2020-09-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install @andy5566/carousel_emomo
pnpm add @andy5566/carousel_emomo
yarn add @andy5566/carousel_emomo
bun add @andy5566/carousel_emomo
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2020-09-28 |
| First published | 2020-09-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 1.2 MB |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | andy5566w |

## Links

- npm: https://www.npmjs.com/package/@andy5566/carousel_emomo
- Repository: https://github.com/andy5566w/carousel_emomo
- Homepage: https://github.com/andy5566w/carousel_emomo#readme
- Issues: https://github.com/andy5566w/carousel_emomo/issues
- npm.io page: https://npm.io/package/@andy5566/carousel_emomo

## Dependencies (9)

- [gsap](https://npm.io/package/gsap.md) ^3.4.0
- [axios](https://npm.io/package/axios.md) ^0.19.2
- [prettier](https://npm.io/package/prettier.md) ^2.0.5
- [file-loader](https://npm.io/package/file-loader.md) ^6.0.0
- [postcss-cli](https://npm.io/package/postcss-cli.md) ^7.1.0
- [autoprefixer](https://npm.io/package/autoprefixer.md) ^9.7.4
- [@types/greensock](https://npm.io/package/@types/greensock.md) ^1.15.32
- [extract-text-webpack-plugin](https://npm.io/package/extract-text-webpack-plugin.md) ^4.0.0-beta.0
- [@fortawesome/fontawesome-free](https://npm.io/package/@fortawesome/fontawesome-free.md) ^5.13.0

## Recent versions

- 1.1.3 (latest) — 2020-09-28
- 1.1.2 — 2020-09-28
- 1.1.1 — 2020-09-28
- 1.1.0 — 2020-09-28
- 1.0.2 — 2020-09-26
- 1.0.1 — 2020-09-26
- 1.0.0 — 2020-09-24

## README

# Carousel_EMOMO

## 如何使用
```bash
npm i @andy5566/carousel_emomo
```
or
```bash
yarn add @andy5566/carousel_emomo
```
main.js
```javascript
import '@andy5566/carousel_emomo/carousel_emomo'
```

Javascript
```javascript
new carousel_emomo({
    containerName: 'container',
    sliders: 'slider',
    delay: 5,
    numOfControlBar: 4,
    showControlBar: true
})
```

HTML
```html
<link rel="stylesheet" href="node_modules/@andy5566/carousel_emomo/main.css">
<div class="carousel">
    <a
        class = "slider"
        data-title = "範例一"
        href = "javascript:void(false)"
        style = "background-image: url('YOUR IMG PATH');"
    >
    </a>
    <a
        clas s= "slider"
        data-title = "範例二"
        href = "javascript:void(false)"
        style = "background-image: url('YOUR IMG PATH');"
    >
    </a>
    <a
        class="slider"
        data-title="範例三"
        href="javascript:void(false)"
        style="background-image: url('YOUR IMG PATH');"
    >
    </a>
    <a
        class="slider"
        data-title="範例四"
        href="javascript:void(false)"
        style="background-image: url('YOUR IMG PATH');"
    >
    </a>
</div>
```
## 參數(option)
| Name     | type | 註解 | 
| ---      | ---       | ---
| containerName | string  | ID名稱或是className
| slider     |    string    | 要滑動的區塊
| delay | number | 輪播停留時間, default: 5
| showControlBar | boolean | 是否顯示下方控制欄位
| numOfControlBar | number | 下放控制欄要顯示的數量


##Demo
[DEMO](https://andy5566w.github.io/carousel_emomo/)

---
_Source: https://npm.io/package/@andy5566/carousel_emomo · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
