mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[15.0][IMP] web_timeline: Add configuration options
Added horizontalScroll and verticalScroll options.
This commit is contained in:
@@ -136,6 +136,8 @@ odoo.define("web_timeline.TimelineView", function (require) {
|
||||
: utils.toBoolElse(attrs.stack, true),
|
||||
margin: attrs.margin ? JSON.parse(attrs.margin) : {item: 2},
|
||||
zoomKey: attrs.zoomKey || "ctrlKey",
|
||||
verticalScroll: utils.toBoolElse(attrs.verticalScroll, false),
|
||||
horizontalScroll: utils.toBoolElse(attrs.horizontalScroll, false),
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user