@gidc-fjnx-h5-standard/scroll-option
'左滑操作'
Last updated 2 years ago .
MIT · · Tarball · package.json
$ gnpm install @gidc-fjnx-h5-standard/scroll-option 
Private package

vue-template

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

左滑操作 (scroll-option)

  • 默认只有删除功能,其他功能需要通过插槽传入
  • slot:
  • default: 其他操作按钮,使用类名为 option-item 的 div 标签
  •        通过类名调整颜色,error 红色,tip 蓝色,warn 黄色
    
  • emit:
  • delete: 点击删除按钮事件
  • 注意:通过插槽传入的按钮想要在点击后像点击删除后一样隐藏操作区,请使用 ref 触发 remakeScroll 方法

Current Tags

  • 0.0.2                                ...           latest (2 years ago)

2 Versions

  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (9)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |