1.3.3 • Published 5 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
5 years ago
1.3.2
5 years ago
1.3.1
5 years ago
1.3.0
5 years ago
1.2.13
5 years ago
1.2.12
5 years ago
1.2.11
5 years ago
1.2.10
5 years ago
1.2.9
5 years ago
1.2.8
5 years ago
1.2.7
5 years ago
1.2.0
5 years ago
1.2.6
5 years ago
1.2.5
5 years ago
1.2.4
5 years ago
1.2.3
5 years ago
1.2.2
5 years ago
1.2.1
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago