Helpers
Helper mixins
The module provides a pair of helper mixins to simplify the work:
srgrid-generate-responsive-feature()
- Content wrapper forresponsive
modesrgrid-generate-between-feature()
- Content wrapper forbetween
modesrgrid-generate-only-feature()
- Content wrapper foronly
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 initializedsrgrid-grid-id-exists($grid-id)
— {Boolean} Check whether the grid id existssrgrid-get-grid-settings($grid-id)
- {Map} Get grid settingssrgrid-get-grid-setting($grid-id,$setting-name)
- {*} Get a single grid settingsrgrid-set-grid-setting($grid-id, $setting-name, $setting-value)
- {*} Set a single grid setting