You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
689 B
22 lines
689 B
2 years ago
|
@namespace Connected.Components
|
||
|
|
||
|
@inherits UIComponent
|
||
|
|
||
|
@{
|
||
|
var ariaPressedValue = @Toggled ? "true" : "false";
|
||
|
}
|
||
|
|
||
|
<IconButton Icon="@(Toggled ? ToggledIcon : Icon)"
|
||
|
Size="(Toggled ? ToggledSize : Size)"
|
||
|
Color="(Toggled ? ToggledColor : Color)"
|
||
|
Title="@(Toggled && ToggledTitle != null ? ToggledTitle : Title)"
|
||
|
Variant="Variant"
|
||
|
Disabled="Disabled"
|
||
|
Edge="Edge"
|
||
|
DisableRipple="DisableRipple"
|
||
|
OnClick="Toggle"
|
||
|
Class="@Class"
|
||
|
Style="@Style"
|
||
|
aria-pressed="@ariaPressedValue"
|
||
|
@attributes="UserAttributes" />
|