@w0s/input-isbn
v2.1.1
Published
ISBN input field
Downloads
16
Readme
ISBN input field
Demo
Examples
<script type="importmap">
{
"imports": {
"@w0s/input-isbn": "...",
"@w0s/isbn-verify": "..."
}
}
</script>
<script type="module">
import InputIsbn from '@w0s/input-isbn';
for (const targetElement of document.querySelectorAll('.js-input-isbn')) {
new InputIsbn(targetElement);
}
</script>
<input class="js-input-isbn"
data-validation-message-isbn-checkdigit="ISBN check digit is invalid."
/>