npm

ehanlin_printcard

1.0.18 • Public • Published

Usage

Download

npm package

npm i @skye_tseng/ehanlin_printcard

引入

<script type="text/javascript" src="../node_modules/jquery/dist/jquery.min.js"</script>
<script type="text/javascript" src="../dist/PrintCard.bundle.js"></script>

建立物件

PrintCard.render(element);  //element傳入要綁上的html element,預設不傳入是body

添加欲列印之卡片

PrintCard.addAll(array); //object array
PrintCard.addOne(object); //屬性如下
//{ "name": ,"login": ,"password":, "url": ,"logo": }

清空頁面

PrintCard.clean();

How to use ?-HTML example

html

Readme

Keywords

none

Package Sidebar

Install

npm i ehanlin_printcard

Weekly Downloads

0

Version

1.0.18

License

ISC

Unpacked Size

29.7 kB

Total Files

3

Last publish

Collaborators

  • sparrowjang
  • yx10177