jessepollak / jessepollak/card
How to use directly instead of inputs?
- Dominant language
- SCSS
- Stars
- 11.7k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I want to use this directly loading data from my database instead of inputs.
Instead:
```
new Card({
form: document.querySelector('form'),
container: '.card-wrapper'
});
```
Something like:
```
new Card({
name: http://database.name,
number: database.number,
exp: database.exp,
cvc: database.cvc
});
```
Any idea?
Thanks!
Contributor guide
Research direction
Start with the Card constructor and the form/container initialization shown in the issue. Determine the desired API and data-handling behavior for loading card values directly, including how completion would be verified; the issue does not name a file or test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- payments
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100