Idris2Doc : Text.CSS.Percentage

Text.CSS.Percentage

(source)

Reexports

importpublic Language.Reflection.Refined.Util

Definitions

recordPercentage : Type
  A floating point percentage value in the the
range [0,100].

Totality: total
Visibility: public export
Constructor: 
MkPercentage : (value : Double) -> (0_ : So ((0.0<=value) && Delay (value<=100))) ->Percentage

Projections:
0.prf : ({rec:0} : Percentage) ->So ((0.0<=value{rec:0}) && Delay (value{rec:0}<=100))
.value : Percentage->Double

Hints:
CastPercentagea=>CastPercentage (Dira)
CastPercentageMinMaxValue
CastPercentageGridValue
CastPercentageFlexBasis
CastPercentageFontSize
CastPercentageBorderRadius
CastPercentageWidth
EqPercentage
OrdPercentage
RenderPercentage
ShowPercentage
.value : Percentage->Double
Totality: total
Visibility: public export
value : Percentage->Double
Totality: total
Visibility: public export
0.prf : ({rec:0} : Percentage) ->So ((0.0<=value{rec:0}) && Delay (value{rec:0}<=100))
Totality: total
Visibility: public export
0prf : ({rec:0} : Percentage) ->So ((0.0<=value{rec:0}) && Delay (value{rec:0}<=100))
Totality: total
Visibility: public export
fromInteger : (n : Integer) -> {auto0_ : IsJust (refine (castn))} ->Percentage
Totality: total
Visibility: export
perc : CastPercentagea=> (v : Double) -> {auto0_ : So ((0.0<=v) && Delay (v<=100))} ->a
  Convenience function for creating percentages with little
syntactic overhead.

```idris example
perc 12
```

Totality: total
Visibility: export