npm i --save nativescript-cardio
- 版本:0.0.1
- GitHub:
- NPM: https://npmjs.net.cn/package/nativescript-cardio
- 下载
- 昨日: 1
- 上周: 11
- 上月: 59
安装
tns plugin add nativescript-cardio
使用
import { CardIO } from 'nativescript-cardio';
const cardIO = new CardIO();
cardIO.show((card: Card) => {
/*
Card {
number: string;
expMonth: number;
expYear: number;
cvv: string;
image: ImageSource;
type: CardType;
name: string;
postalCode?: string;
android: any;
ios: any;
}
*/
});