Helpers

Helper mixins

The module provides a pair of helper mixins to simplify the work:

  • srgrid-generate-responsive-feature() - Content wrapper for responsive mode
  • srgrid-generate-between-feature() - Content wrapper for between mode
  • srgrid-generate-only-feature() - Content wrapper for only mode

Helper functions

The module provides a pair of helper functions to simplify the work:

  • srgrid-is-initialized() — {Boolean} Check whether the sR Grid module has already been initialized
  • srgrid-grid-id-exists($grid-id) — {Boolean} Check whether the grid id exists
  • srgrid-get-grid-settings($grid-id) - {Map} Get grid settings
  • srgrid-get-grid-setting($grid-id,$setting-name) - {*} Get a single grid setting
  • srgrid-set-grid-setting($grid-id, $setting-name, $setting-value) - {*} Set a single grid setting

results matching ""

    No results matching ""