ac-printing-button
Button ui component for react
Last updated 5 days ago by linzb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ac-printing-button 
SYNC missed versions from official npm registry.

ac-printing-button

基于营销云,提供的按钮组打印组件。

依赖

  • react >= 15.3.0
  • react-dom >= 15.3.0
  • prop-types >= 15.6.0

使用方法


$ ynpm install ac-printing-button --save

引入

import AcButton from 'ac-printing-button';

样式

import 'ac-printing-button/dist/index.css';

API

参数 说明 类型 默认值
containerId 挂在容器的Id string -
setupDownloadUrl 下载程序的url地址 string https://cdn.yonyoucloud.com/iprint/setup.exe?download
btns 按钮数组 array 见 btns api
printCheckedUrl 协议url地址 string yonyou://iprint
layoutType 选中布局方式 (button、menu) string button
label 如果是layoutType是 menus,可以设置按钮文字 string button

btns API

参数 说明 类型 默认值
label 按钮显示文字 string default
url 跳转url string -
urlParameter 跳转url的上的参数 obj -
type 是否是下载组件 string '' 空为跳转按钮、'dowloand' 为下载按钮
icon menu中是否要带图标 string -

开发调试

$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/ac-printing-button
$ cd ac-printing-button
$ npm install
$ npm run dev

Current Tags

  • 0.0.5-alpha.2                                ...           alpha (a year ago)
  • 0.1.23                                ...           latest (5 days ago)

37 Versions

  • 0.1.23                                ...           5 days ago
  • 0.1.22                                ...           6 days ago
  • 0.1.21                                ...           6 days ago
  • 0.1.20                                ...           6 days ago
  • 0.1.19                                ...           6 days ago
  • 0.1.18                                ...           7 days ago
  • 0.1.17                                ...           8 days ago
  • 0.1.16                                ...           8 days ago
  • 0.1.15                                ...           8 days ago
  • 0.1.14                                ...           9 days ago
  • 0.1.13                                ...           9 days ago
  • 0.1.12                                ...           11 days ago
  • 0.1.11                                ...           3 months ago
  • 0.1.10                                ...           3 months ago
  • 0.1.9                                ...           3 months ago
  • 0.1.8                                ...           7 months ago
  • 0.1.7                                ...           a year ago
  • 0.1.6                                ...           a year ago
  • 0.1.5                                ...           a year ago
  • 0.1.4                                ...           a year ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 0.0.9                                ...           a year ago
  • 0.0.8                                ...           a year ago
  • 0.0.7                                ...           a year ago
  • 0.0.5-alpha.2                                ...           a year ago
  • 0.0.5-alpha.1                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3-alpha.5                                ...           a year ago
  • 0.0.3-alpha.4                                ...           a year ago
  • 0.0.3-alpha.3                                ...           a year ago
  • 0.0.3-alpha.2                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (2)
Downloads
Today 0
This Week 1
This Month 185
Last Day 0
Last Week 173
Last Month 0
Dependencies (9)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |