0.1.1 • Published 6 years ago
atechrepresentative v0.1.1
atechrepresentative
Installation
npm install atechrepresentativeUsage
You must install atechrepresentative via Vue.use() in main.js
import Vue from 'vue';
import AtechRepresentative from 'atechrepresentative';
Vue.use(AtechRepresentative);Using on a component
<representative color="dark" class="bordering">
<template slot="rep-borrowing">£500</template>
<template slot="rep-interest">0.8% per day</template>
<template slot="rep-interest-custom">for up to 40 days (292% per annum, variable)</template>
<template slot="rep-apr">68.7% APR</template>
<template slot="rep-apr-custom">(variable)</template>
<template slot="rep-content">SafetyNet offers a permanent revolving line of credit with no minimum or maximum repayment terms.</template>
</representative>Prop list
| Props list | description |
|---|---|
| color | |
| direction |
Named Slots list
| Slot list | description |
|---|---|
| rep-borrowing | |
| rep-interest | |
| rep-interest-custom | |
| rep-apr | |
| rep-apr-custom | |
| rep-content |