1.0.1 • Published 3 years ago

formio-survey v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

You can install this package using NPM

npm install formio-survey

Or just use directly with UNPKG

<script src="https://unpkg.com/formio-survey@:1.0.0/dist/index.umd.js"></script>

Also, if you are not using Formio already, import it and it's css dependencies

<script src='https://cdn.form.io/formiojs/formio.full.min.js'></script>
<link
      rel="stylesheet"
      href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
    />
    <link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css'>
    <link rel='stylesheet' href='https://cdn.form.io/formiojs/formio.full.min.css'>
    <link
    rel="stylesheet"
    href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
  />
    <link rel='stylesheet' href='https://unpkg.com/formio-survey@:1.0.0/dist//style.css'>
formioSurvey.render({
  renderElement: document.getElementById("formio"),
  src: "https://zdzvmdwsyjiltzy.form.io/wellness",
  animations: {
    click: "pulse",
    next: "backOutDown",
    previous: "backInUp",
  },
});
1.0.1

3 years ago

1.0.0

3 years ago