1.0.0 • Published 1 year ago

react-doflo-embed v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-doflo-embed npm version

React component for embedding doFlo Objects https://www.doflo.com/

Install

npm install react-doflo-embed

Usage

import DoFloEmbed from 'react-doflo-embed';

<DoFloEmbed src="https://forms.doflo.com/123456789" />

Props

  • src : The url of your doFlo object, you can find this by clicking on the embed icon or the publish section depending on the element you are embedding.
  • scrolling : A boolean to allow or disallow scrolling.
  • className : add any additional class values to the iframe itself

Notes

To pre-populate variables such as in an embeddable form or application, add them as url params to your src URL. For example:

let fName = encodeURIComponent("Joe");
let lName = encodeURIComponent("Takagi");
let company = encodeURIComponent("Nakatomi Corporation");
let title = encodeURIComponent("CEO");

<DoFloEmbed src={`https://forms.doflo.com/123456789/?fname=${fName}&lname=${lName}&co=${company}&title=${title}`} />
1.0.0

1 year ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago