classMap

open fun classMap(values: Map<String, Boolean>)

Sets the class attribute from a Map of String to Boolean. If the value of the Map-entry is true, the key will be used inside the resulting String.

Parameters

values

as Map with key to set and corresponding values to decide


open fun classMap(values: Flow<Map<String, Boolean>>)

Sets the class attribute from a Map of String to Boolean. If the value of the Map-entry is true, the key will be used inside the resulting String.

Parameters

values

Flow of Map with key to set and corresponding values to decide