Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- InboxSDK.load('1', 'Hello World!').then(function(sdk){
- // the SDK has been loaded, now do something with it!
- sdk.Compose.registerComposeViewHandler(function(composeView){
- const statusBar = composeView.addStatusBar({
- addAboveNativeStatusBar: true,
- })
- const button = document.createElement("button")
- button.innerHTML = "Do Something"
- button.addEventListener("click", function () {
- alert("did something")
- })
- statusBar.el.appendChild(button)
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement