0.1.7 • Published 11 months ago

@signupnotes/signupnotes-vue v0.1.7

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

SignupNotes Vue Component

The signupnotes/vue package provides a Vue.js component to easily integrate SignupNotes forms into your Vue application.

Installation

npm install signupnotes/vue
yarn add signupnotes/vue

Usage

import { SignupNotesForm } from '@signupnotes/signupnotes-vue'

<SignupNotesForm
	class="h-full w-full"
	:values="{
		name:'John'
	}"
	:meta-data="{
		source:'web'
	}"
	form-id="yourFormId"
	@submit-data="handleSubmit"
	@step-change="handleStepChange"
	@loading="handleLoading"
	@loaded="handleLoaded"
/>

Props

  • formId (required): The unique ID of the form.
  • values (optional): Pre-fill form values as a record.
  • meta-data (optional): Additional metadata to send with the form.

Events

  • @submit-data: Triggered when the form is successfully submitted. Returns form data.
  • @step-change: Triggered when the form step changes. Returns the current step number.
  • @loading: Triggered when the form starts loading. Returns a boolean indicating the loading state.
  • @loaded: Triggered when the form finishes loading. Returns a boolean indicating the loaded state.
0.1.7

11 months ago

0.1.6

11 months ago

0.1.5

11 months ago

0.1.4

11 months ago

0.1.3

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago

0.1.0

12 months ago

0.0.9

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.4

12 months ago