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.

27 lines
507 B

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