mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 22:13:32 +00:00
toast module improvements
This commit is contained in:
@@ -41,7 +41,7 @@ export class ToastComponent {
|
||||
readonly message = input.required<string | string[]>();
|
||||
|
||||
/** An optional title to display over the message. */
|
||||
title = input<string>();
|
||||
readonly title = input<string>();
|
||||
|
||||
/**
|
||||
* The percent width of the progress bar, from 0-100
|
||||
|
||||
@@ -34,8 +34,13 @@ export default {
|
||||
|
||||
decorators: [
|
||||
moduleMetadata({
|
||||
imports: [CommonModule, BrowserAnimationsModule, ButtonModule, ToastModule],
|
||||
declarations: [ToastServiceExampleComponent],
|
||||
imports: [
|
||||
CommonModule,
|
||||
BrowserAnimationsModule,
|
||||
ButtonModule,
|
||||
ToastModule,
|
||||
ToastServiceExampleComponent,
|
||||
],
|
||||
}),
|
||||
applicationConfig({
|
||||
providers: [
|
||||
|
||||
Reference in New Issue
Block a user