stickyControls
When the option stickyControls
is set to enabled:true, the controls will follow the user's scroll to the end of the available space within the editor. Note the updated syntax to handle custom positioning.
Usage
var options = {
stickyControls: {
enable: true
}
};
$(container).formBuilder(options);
Positioning
By default the controls should stick to the top when scrolling however this can be adjusted with the stockyControls.offset
option.
var options = {
stickyControls: {
enable: true,
offset: {
top: 20,
right: 20,
left: 'auto'
}
}
};