Blokks

Measure activities

Blokks adds CSS modifiers to indicate the size of each Activity. This is useful for determining, for example, if the activity is large enough to show a subtitle. Or, if an activity title should be truncated if the activity is too small to show the full title.

Note: computing the size of an element is a pretty intensive task for a browser. Although this option is enabled by default, we recommend to set it to false whenever possible.

Options Values Default value
data-auto-measure-size true false true

Example

<script	defer src='[path-to-embed]'
  data-blokks-id='[your-blokks-id]'
  data-measure-activities='false'>
</script>