DM-536 - added disabled property
This commit is contained in:
parent
48b3abaf2c
commit
3776e8ecef
@ -17,4 +17,6 @@
|
|||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div *ngIf="showDot" class="dot"></div>
|
<div *ngIf="showDot" class="dot"></div>
|
||||||
|
|
||||||
|
<div *ngIf="dropdownButton" [class.disabled]="disabled" class="arrow-down"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,4 +1,16 @@
|
|||||||
:host > div {
|
:host > div {
|
||||||
width: var(--circle-button-size);
|
width: var(--circle-button-size);
|
||||||
height: var(--circle-button-size);
|
height: var(--circle-button-size);
|
||||||
|
|
||||||
|
.arrow-down {
|
||||||
|
border: 5px solid transparent;
|
||||||
|
border-top-color: black;
|
||||||
|
position: fixed;
|
||||||
|
margin-left: 12px;
|
||||||
|
margin-top: -8px;
|
||||||
|
|
||||||
|
&.disabled {
|
||||||
|
border-top-color: var(--iqser-grey-3);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -33,6 +33,7 @@ export class CircleButtonComponent implements OnInit {
|
|||||||
@Input() helpModeButton = false;
|
@Input() helpModeButton = false;
|
||||||
@Input() removeTooltip = false;
|
@Input() removeTooltip = false;
|
||||||
@Input() isSubmit = false;
|
@Input() isSubmit = false;
|
||||||
|
@Input() dropdownButton = false;
|
||||||
@Input() size = 34;
|
@Input() size = 34;
|
||||||
@Input() iconSize = 14;
|
@Input() iconSize = 14;
|
||||||
@Output() readonly action = new EventEmitter<MouseEvent>();
|
@Output() readonly action = new EventEmitter<MouseEvent>();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user