oh-canvas-layout - Canvas Layout
Position widgets on a canvas layout with arbitrary position and size down to pixel resolution
Configuration
Layout Settings
gridGrid sizeINTEGER
Grid size in pixels used to snap content (default 20)
Screen Settings
screenWidthScreen WidthINTEGER
Screen width in pixels (default 1280)
screenHeightScreen HeightINTEGER
Screen height in pixels (default 720)
scaleScalingBOOLEAN
Scale content to screen width (can lead to unexpected styling issues) (default false)
imageUrlImage URLTEXTurl
The URL of the image to display as background
imageSrcSetImage Source SetTEXT
The src-set attribute of background image element to take into account multiple device resolutions. For example: "/static/floorplans/floor-0.jpg, /static/floorplans/floor-0@2x.jpg 2x"
SVG Embedding
embedSvgEmbed SVGBOOLEAN
Embed SVG image directly into the page (default false)
embedSvgFlashingEmbed SVG Flashing in Run-ModeBOOLEAN
Flashes SVG elements on hovering in run-mode as well (default false)
Appearance
hideNavbarHide Navigation barBOOLEAN
Hide navigation bar on top when page is displayed (You can additionally hide the sidebar using its pin icon) (default false)
hideSidebarIconHide Sidebar IconBOOLEAN
Don't show a menu icon in the top left corner when the sidebar is closed (default false)
showFullscreenIconShow Fullscreen IconBOOLEAN
Show a fullscreen icon on the top right corner (default false)
Canvas items shadow
boxShadowBox shadowTEXT
Shadow applied to box elements (box-shadow CSS syntax).
textShadowText shadowTEXT
Shadow applied to text elements or font icons (text-shadow CSS syntax)
filterShadowFilter ShadowTEXT
Shadow applied to raster or SVG image elements (filter: drop-shadow() CSS syntax)