Reputation: 63
I have a modal box created in Webix. How can I specify its position on the page?
webix.confirm({
title: "Title",
ok:"Yes", cancel:"No",
text:"Are you sure?",
});
I didn't find properties such as align
or something. Any ideas? Thanks in advance.
Snippet
Upvotes: 0
Views: 161
Reputation: 1246
it's possible to customize any element of Webix Scheduler.
All you need to do is to redefine the needed attributes of the related css class in the <style>
block of your page.
for example your in case you should redefine the left and top of webix_modal_box class like this:
<style type="text/css">
.webix_modal_box{
left:100px !important;
top:100px !important;
}
</style>
this is a working snippet
Upvotes: 1