Sha256: 7af70809afecfe2dd5a8fb82f04b68132d1fd43c5083981e9896178dcb9d5ae8
Contents?: true
Size: 816 Bytes
Versions: 1
Compression:
Stored size: 816 Bytes
Contents
// Get single value from key in instance map based on $selector::$key // ------------------------------------------------------------------------------- // @warning : all values returned are strings and must be converted with `flint-to-number()` // ------------------------------------------------------------------------------- // @param $key [string] : key // @param $value [number] : value // @param $deep [number] : fetch deep value // ------------------------------------------------------------------------------- // @return [string] @function flint-get-instance-value($key, $value, $deep: null) { @if not $deep { @return flint-map-fetch($flint__instances, flint-has-family-instance($key) $value); } @else { @return flint-map-fetch($flint__instances, flint-has-family-instance($key) $value $deep); } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flint-gs-1.11.2 | stylesheets/flint/functions/lib/_get-instance-value.scss |