emails-input
v1.0.0
Published
Emails input component to allow users to be able to create fancy chip style email input
Downloads
17
Readme
Demo Link
$ npm i emails-input
var emailInput = new EmailInput(document.getElementById('emails-input'), { textElementClasses: 'form-control', domain: '@miro.com' });
emailInput.listenToChanges(() => {
console.log('listened');
});
emailInput.addEmail();
emailInput.addEmail();
emailInput.addEmail();
emailInput.replaceEmails(['[email protected]', '[email protected]', '[email protected]']);