1.0.0 • Published 11 months ago

react-doflo-embed v1.0.0

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

11 months 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

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago