Display prompt after clicking on element

For asking user permissions after clicking on element you need to setup 2 additional params:

  1. step0 - Use waitClick value
  2. clickSelector - Use selector that you need

Example 1: Use slider prerequest

    <!-- Element that catches user click -->
    <button id="sample-click-button">Click me</button>

    <!-- Notix integration code -->
    <script>
        var s = document.createElement("script")
        s.src = "https://notix.io/ent/current/enot.min.js"
        s.onload = function (sdk) {
            sdk.startInstall({
                appId: "YOUR-APP-ID-HERE",
                view: "slider",
                loadSettings: false,
                step0: "waitClick",
                clickSelector: "#sample-click-button-1"
            })
        }
        document.head.append(s)
    </script>

Example 2: Native prompt

    <!-- Element that catches user click -->
    <button id="sample-click-button-2">Click me</button>

    <!-- Notix integration code -->
    <script>
        var s = document.createElement("script")
        s.src = "https://notix.io/ent/current/enot.min.js"
        s.onload = function (sdk) {
            sdk.startInstall({
                appId: "YOUR-APP-ID-HERE",
                view: "native",
                loadSettings: false,
                step0: "waitClick",
                clickSelector: "#sample-click-button-2"
            })
        }
        document.head.append(s)
    </script>