1.0.5 • Published 3 years ago

@andalusia/contactform v1.0.5

Weekly downloads
18
License
ISC
Repository
-
Last release
3 years ago

Contact Us Form

SFC for contact us form

Screenshot

Contact Us Component

Installation

Install this component with

npm i @andalusia/contactform

You can install a specific version using @[component version]

npm i @andalusia/contactform@2.0.1

Update

npm update @andalusia/contactform

Props

langBtn

The id or the class name for language button

  • Type: String

formSuccessMessage

The form's sccess message

  • Type: String

accentColor

The accent color for icons and submit button

  • Type: String

contactApi

The API route without language

  • Type: String

showFormDescription Optional

Show or hide small description above the form

  • type: Boolean

  • default: true

formDescription Optional

The small description above the form

  • type: String

  • default: "This is the default vaule for formDescription!"

Usage

Install this component with

<template>
    <SharedContactUs
        langBtn=".lang-option"
        accentColor="var(--blue)"
        contactApi="/api/contacts"
        :showFormDescription="false"
        formSuccessMessage="You'r request sent successfully"
    />
</template>

<script>
import SharedContactUs from '@andalusia/contactform';

export default {
    components: [
        SharedContactUs
    ]
}
</script>
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago