1.0.48 • Published 3 years ago

survezy_widget v1.0.48

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

3 years ago

1.0.39

3 years ago

1.0.38

3 years ago

1.0.40

3 years ago

1.0.44

3 years ago

1.0.43

3 years ago

1.0.42

3 years ago

1.0.41

3 years ago

1.0.48

3 years ago

1.0.47

3 years ago

1.0.46

3 years ago

1.0.45

3 years ago

1.0.36

3 years ago

1.0.35

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.9

3 years ago

1.0.22

3 years ago

1.0.21

3 years ago

1.0.20

3 years ago

1.0.26

3 years ago

1.0.25

3 years ago

1.0.23

3 years ago

1.0.29

3 years ago

1.0.27

3 years ago

1.0.33

3 years ago

1.0.11

3 years ago

1.0.32

3 years ago

1.0.10

3 years ago

1.0.31

3 years ago

1.0.30

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.34

3 years ago

1.0.12

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago