0.1.4 • Published 3 years ago

@lianetoolkit/form v0.1.4

Weekly downloads
58
License
MIT
Repository
github
Last release
3 years ago

Liane Forms

Embed Liane Forms


Installation

$ npm install --save @lianetoolkit/form

Usage

Edit and insert the following <div /> where you'd like the form to be displayed:

<div
  class="liane-form"
  data-url="https://my-liane-server.com"
  data-campaignId="{my-campaign-id}"
></div>

Compact mode

<div
  class="liane-form"
  data-url="https://my-liane-server.com"
  data-campaignId="{my-campaign-id}"
  data-compact="true"
></div>

Place the script once inside <head> or right before the </body> closing tag:

<script src="liane-form.js"></script>

Build

$ git clone https://github.com/liane-toolkit/liane-form.git
$ cd liane-form
$ npm run build

The final script will be located at lib/liane-form.js.

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago