Components
ListmonkForm
ListmonkForm
Usage
ListmonkForm component doesn't accepts props to protect the logic behind subscription process, but you can customize it according to your needs.
<template>
<ListmonkForm>
<!-- Whatever you want! -->
</ListmonkForm>
</template>
<template>
<ListmonkForm class="form">
<!-- Whatever you want! -->
</ListmonkForm>
</template>
<style scoped>
.form {
...
}
</style>
Events
ListmonkForm emits the following events:
subscribed
Event fired after the form has been submitted.
cleared
Event fired after the form has been cleared.
error
Event fired with the request error when the subscription fails. On failure, the
form values are retained and neither subscribed nor cleared is emitted.