Sha256: 9dd6a09db1fa6161f226f8e4797ff0491dfee8cca6ad56c95d04781bfa1c72b3
Contents?: true
Size: 837 Bytes
Versions: 1
Compression:
Stored size: 837 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 $deep == null { @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.7.1 | stylesheets/flint/functions/lib/_get-instance-value.scss |