2.1.0 • Published 1 year ago

inboost-widget-client v2.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

INBOOST widget client

To install widget to some project

API

createWidget({
    apiKey: string;
    selector?: string;
    apiDomain: string;
    config?: {
        placeLocation: "Right" | "Left";
        indentation: {
            onSide: number;
            onBottom: number;
        };
    };
    widgetDomain?: string;
})

Installation

npm

npm install inboost-widget-client
import * as iWidget from "inboost-widget-client";

document.addEventListener("DOMContentLoaded", () => {
    iWidget.createWidget({
        apiKey: // client API key from inboost
        selector: // by default its body
        apiDomain: // client portal API domain
        config: {
            placeLocation: // by default Right
            indentation: {
                onSide: // px from placeLocation
                onBottom: // px
            }
        }
        widgetDomain: // by default https://widgets.inboost.ai/
    })
})

html

<body>
    <div id="widget"></div>
    <script src="https://www.npmjs.com/package/inboost-widget-client"></script>

     <script>
            window.createWidget({ 
                apiKey: // client API key from inboost, 
                apiDomain: // client portal API domain, 
                selector: "#widget" 
                 config: {
                    placeLocation: // by default Right
                    indentation: {
                        onSide: // px from placeLocation
                        onBottom: // px
                    }
                }
                widgetDomain: // by default https://widgets.inboost.ai/
            });
    </script>
</body>
2.1.0

1 year ago

2.0.9

1 year ago

2.0.11

1 year ago

2.0.10

1 year ago

2.0.5

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.8

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.4

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.4.6

1 year ago

1.4.5

1 year ago

1.4.9

1 year ago

1.4.8

1 year ago

1.4.7

1 year ago

1.4.4

1 year ago

1.4.3

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.7

2 years ago

1.3.6

2 years ago

1.3.8

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

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