@cocreate/plaid
Version:
A simple plaid component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.
74 lines (66 loc) • 2.65 kB
HTML
<html lang="en">
<head>
<title>plaid</title>
<style type="text/css">
.template {
display: none;
}
</style>
<link rel="manifest" href="/manifest.webmanifest" />
</head>
<body>
<h1>Plaid-Transaction</h1>
<form>
AccssToken:
<input
plaid="plaidTransaction.accessToken"
value="access-sandbox-60d0a921-dfc3-445e-97be-bd8abc80d219" />
<button actions="plaidTransaction">Plaid Transaction</button>
</form>
<div template_id="plaidTransaction">
<div
class="template card card margin:10px"
value="{{data._id}}"
template_id="plaidTransaction"
render="data">
<div
class="display:flex justify-content:space-between align-items:center width:100%">
<div class="display:flex">
<div class="display:flex align-items:center">
<span
class="icon status font-size:20px margin-right:10px"></span>
</div>
<div
class="display:flex align-items:center flex-wrap:wrap">
<h3
class="margin-right:10px"
value="{{data.account_id}}">
AccountId
</h3>
<span
class="margin-right:10px"
value="{{data.amount}}"
>Amount</span
>
<span
class="margin-right:10px"
value="{{data.category_id}}"
>CategoryId</span
>
<span
class="margin-right:10px"
value="{{data.date}}"
>Date</span
>
</div>
</div>
</div>
</div>
</div>
<!--CoCreateJS-->
<!--CoCreate Plugins-->
<!--<script src="../dist/CoCreate-plaid.js"></script>-->
<script src="https://CoCreate.app/dist/CoCreate.js"></script>
</body>
</html>