vis.js is a dynamic, browser-based visualization library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
427 B

  1. module.exports = {
  2. buildSimpleTimelineRangeBody: function () {
  3. var body = {
  4. dom: {
  5. center: {
  6. clientWidth: 1000
  7. }
  8. },
  9. domProps: this.props,
  10. emitter: {
  11. on: function () {},
  12. off: function () {},
  13. emit: function () {}
  14. },
  15. hiddenDates: [],
  16. util: {}
  17. }
  18. body.dom.rollingModeBtn = document.createElement('div')
  19. return body
  20. }
  21. }