1.0.48 • Published 2 years ago

survezy_widget v1.0.48

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Survezy Widget

NPM JavaScript Style Guide

Usage

React

> npm install survezy_widget
import React, { Component } from 'react'

import { Survezy } from 'survezy_widget'
import 'survezy_widget/dist/index.css'

class Example extends Component {
  render() {
     <Survezy eventId={"eventId"} darkMode />
  }
}

HTML

<!doctype html>
<html>

<head>
  <meta charset="utf-8">
  <title>Survezy JS</title>
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <script defer="defer" src="https://api.survezy.in/survezy/1.0.26/survezy.js"></script>
</head>

<body>
  <button type="button"
    onClick="(function(){survezy.Show('eventId');})();">
    Open Survey
  </button>

</body>

</html>

Android

Install via gradle

  allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

If your gradle version is higher than 6.5, add the below code in settings.gradle.

dependencyResolutionManagement {
    ...
    repositories {
        ...
        maven{url 'https://jitpack.io'}
    }
}

Add dependency in your app's build.gradle file

defaultConfig {
    ....
    minSdkVersion 21
}

dependencies { implementation 'com.github.wimwisure:survezy_android:1.3' }

> Uses

```kt
val survezy = Survezy(context)

survezy.show(eventId)
1.0.37

2 years ago

1.0.39

2 years ago

1.0.38

2 years ago

1.0.40

2 years ago

1.0.44

2 years ago

1.0.43

2 years ago

1.0.42

2 years ago

1.0.41

2 years ago

1.0.48

2 years ago

1.0.47

2 years ago

1.0.46

2 years ago

1.0.45

2 years ago

1.0.36

2 years ago

1.0.35

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.9

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.26

2 years ago

1.0.25

2 years ago

1.0.23

2 years ago

1.0.29

2 years ago

1.0.27

2 years ago

1.0.33

2 years ago

1.0.11

2 years ago

1.0.32

2 years ago

1.0.10

2 years ago

1.0.31

2 years ago

1.0.30

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.34

2 years ago

1.0.12

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago