boxes/ActiveBoxContent

Source: ActiveBoxContent.js:32

File : boxes/ActiveBoxContent.js
Created : 13/04/2015
By : Francesc Busquets francesc@gmail.com

JClic.js
An HTML5 player of JClic activities
https://projectestac.github.io/jclic.js

  • License: EUPL-1.2

Other

AlignType

This class is used as a container for horizontal and vertical alignments of content inside a cell.

Parameters

  • h (string, optional) — Horizontal alignment. Possible values are left, center and right
  • v (string, optional) — Vertical alignment. Possible values are top, center and bottom

ActiveBoxContent

This class defines a content that can be displayed by ActiveBox objects. This content
can be a text, an image, a fragment of an image or a combination of text and images. The style
(colors, font and size, borders, shadows, margins, etc.) are specified in the style attribute,
always pointing to a BoxBase object.

Parameters

  • id (string, optional) — An optional identifier.