DepthLevels
class DepthLevels
Glimmer components can use Depth to establish a sense of hierarchy. DepthLevels contains different levels of Depth to express this hierarchy. Higher levels contain larger shadows, and represent components with a higher z-order than lower levels. In their baseline state (not focused) most components should have no (null) Depth.
Summary
Public constructors |
|---|
Public properties |
|
|---|---|
Depth |
the lowest level of |
Depth |
|
Depth |
|
Depth |
|
Depth |
the highest level of |
Public constructors
DepthLevels
Added in 1.0.0-alpha01
DepthLevels(
level1: Depth = DepthLevel1,
level2: Depth = DepthLevel2,
level3: Depth = DepthLevel3,
level4: Depth = DepthLevel4,
level5: Depth = DepthLevel5
)
Public functions
Public properties
level1
Added in 1.0.0-alpha01
val level1: Depth
the lowest level of Depth. This level will have the smallest shadows.
level5
Added in 1.0.0-alpha01
val level5: Depth
the highest level of Depth. This level will have the largest shadows.