/consent-manager-sdk-web

Sdk for ogury web mobule

Primary LanguageJavaScript

Consent Manager SDK Web

Getting started

Setup

npm install consent-manager-js-sdk

or

yarn add consent-manager-js-sdk

Copy-paste the following lines into the head of your index.html :

<style>
    .cmjs-form {
    height: 80%;
    width: 80%;
    top: 10%;
    left: 10%;
    position: fixed;
    background-color: white;
    }
</style>

Methods

ask(): affiche le formulaire dans une modale