Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 805 Bytes

buckets-list-element.md

File metadata and controls

29 lines (21 loc) · 805 Bytes

Buckets List Element Block

This is extended ElementList Block with additional fields for content and background class/colour

This element list is only holding buckets elements at this time.

Template Convention:

EvansHunt/Elements/BucketsListElement.ss

Variables:

  • $Title: Document List Element title
  • $ShowTitle: Is the title displayed or not?
  • $Content: Buckets List Element Copy/Content
  • $BackgroundClass: Background class name from yml configuration - lowercase
  • $BucketsAlign: Elements wrapper class/alignment name for buckets content (left/center)
  • $Elements: Child elements, buckets

BackgroundClass configuration in application elements.yml file:

EvansHunt\Elements\BucketsListElement:
  - White
  - Dark
  - Light
  - Your Class
  - Another Class