Skip to content
  1. API
  2. Ogma
  3. tools

Ogma.tools.brand

Brand API: functions to display a brand component in the Ogma container.

ogma.tools.brand.remove()

Remove the brand HTML element.

ogma.tools.brand.set(html[, options])

Display the specified HTML in one of the corner of the canvas.

If the brand shows in one of the corner of the page instead of the Ogma container, change the css "position" attribute of the container to "relative".

Arguments

  • html string HTML content to display.
  • options(optional) BrandOptions

Returns

  • HTMLElement