1.0.18 • Published 10 months ago

ehanlin_printcard v1.0.18

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

npm.io

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

1.0.18

10 months ago

1.0.17

10 months ago

1.0.15

10 months ago

1.0.1

4 years ago

1.0.0

4 years ago