Inline mode
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'
});
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.
Need more functionality? Take a survey and help us develop CKBox to suit your needs better!