Alignment

Srdjan Djenader edited this page Dec 21, 2017 · 2 revisions

Places the canvas element of DrawerJs on your website.


Configuring Background and Border Styles

    align: 'left'

Settings is optional. If not specified otherwise, the above default will be used.

  • align:
    • Defines the alignment of the canvas element:
      • 'left': Sets alignment to left.
      • 'right': Sets alignment to right.
      • 'center': Sets alignment to center.
      • 'inline': Sets alignment to line.
      • 'floating': Sets alignment to floating and can only be used in conjunction with plugin MoveableFloatingMode.
  • This setting greatly depends on CSS of wrapping container.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.