...
from the object returned when calling
window.Netvalve.initFields
during the JS SDK setup.
Code Block | ||
---|---|---|
| ||
const sdk = window.Netvalve.initFields({ }) await sdk.tokenizeFields(); |
From the
<netvalve-tokenfields>
html web component
Code Block | ||
---|---|---|
| ||
const sdk = document.querySelector('netvalve-tokenfields'); // GET INSTANCE const token = await sdk.tokenizeFields(); |
...