1.3.3 • Published 4 years ago
leapa-form v1.3.3
Installation
From your project folder, install the component from npm
npm install leapa-form
Usage
Import the component
In a JavaScript module:
import "leapa-form"
In an HTML page:
```
<script type="module">
import '/node_modules/leapa-form/bundle/index.js';
</script>
```
Or:
```
<script type="module" src="/node_modules/leapa-form/bundle/index.js"></script>
```
Add the component to your application or component:
<app-card buttonColor="#1b1b1b" emailLabel="Email Address" ... > </app-card>
Configuration properties.
Plenty of configurable properties to tune the component.
Name | Description | Required | Default value |
---|---|---|---|
buttonColor | Changes the color of the button | Yes | N/A |
btnTextColor | Changes the color of the button text | No | "white" |
labelColor | Changes the color of the input labels | No | "lightgray" |
emailLabel | Label for email input field | No | "Email" |
cardInfoLabel | Label for card information section | No | "Card Information" |
cardNameLabel | Label for card name input field | No | "Name on card" |
regionLabel | Label for region input field | No | "Country or region" |
1.3.3
4 years ago
1.3.2
4 years ago
1.3.1
4 years ago
1.3.0
4 years ago
1.2.13
4 years ago
1.2.12
4 years ago
1.2.11
4 years ago
1.2.10
4 years ago
1.2.9
4 years ago
1.2.8
4 years ago
1.2.7
4 years ago
1.2.0
4 years ago
1.2.6
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago