boxes/ActiveBagContent

Source: ActiveBagContent.js:32

File : boxes/ActiveBagContent.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

ActiveBagContent

This class packs a collection of ActiveBoxContent objects and provides methods to access
and manage it. The two main members of ActiveBagContent are the Shaper, responsible for
determining the position and shape of each ActiveBox, and the BoxBase (field style),
provider of a common visual style.

Parameters

  • id (string, optional) — An optional text tag identifying this ActiveBagContent
  • ncw (number) — In grid-based distributions, number of columns.
  • nch (number) — In grid-based distributions, number of rows.