mirror of
https://github.com/bitwarden/clients.git
synced 2026-02-08 09:53:43 +08:00
Add role="alert" to callouts only when enforceAlert is passed (#528)
* Add role="alert" to callouts when enforceAlert is passed * Remove ElementRef and do a different way * Rename input variable
This commit is contained in:
@@ -19,6 +19,7 @@ export class CalloutComponent implements OnInit {
|
||||
@Input() clickable: boolean;
|
||||
@Input() enforcedPolicyOptions: MasterPasswordPolicyOptions;
|
||||
@Input() enforcedPolicyMessage: string;
|
||||
@Input() useAlertRole = false;
|
||||
|
||||
calloutStyle: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user