Sign up (with export icon)

Inline mode

Show the table of contents

Inline mode is the default working mode of CKBox. In this case, the CKBox instance will be created in the container passed s the first parameter of CKBox.mount() method.

CKBox.mount(document.querySelector('#ckbox'), {
    tokenUrl: 'https://your.token.url'
});
Copy code

Please note that in inline mode CKBox instance will occupy all the available space, so you might want to restrict with CSS the width and the height of the container used by CKBox.

Note

Need more functionality? Take a survey and help us develop CKBox to suit your needs better!