1.0.0 • Published 3 years ago

react-doflo-embed v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years 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

3 years ago

0.0.11

4 years ago

0.0.12

4 years ago

0.0.13

4 years ago

0.0.14

4 years ago

0.0.15

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago