Service to open modal dialogs.
| Name | Type | Default | Description |
|---|---|---|---|
| - | |||
| - |
| Name | Type | Description |
|---|---|---|
Parameters: componentOrTemplateRef: Type<T> | TemplateRef<T> config: AlibDialogConfig | undefined Return: AlibDialogRef<T, TResult> | Opens a modal dialog containing the given template or component. | |
Parameters: None Return: void | Closes all of the currently-open dialogs. | |
Parameters: input1: number这是一个参数 Return: void | method1重载方法1 | |
Parameters: input1: number input2: number Return: void | method1重载方法2 | |
Parameters: input1: number input2: number注释过长时 Return: void | method1重载方法3 | |
Parameters: None Return: number[object Object] | method2默认备注 |
Alib Dialog Config
| Name | Type | Default | Description |
|---|---|---|---|
| 'dialog' | The ARIA role of the dialog element. | ||
| top | Position overrides. | ||
| - | Dialog size md, lg, sm |
Alib Dialog Ref
| Name | Type | Default | Description |
|---|---|---|---|
| - | The instance of the dialog component. | ||
| - | Result of close dialog |
| Name | Type | Description |
|---|---|---|
Parameters: None Return: void | ||
Parameters: id: string | undefined Return: void | Close dialog |
| Name | Type | Description |
|---|---|---|
Parameters: req: HttpRequest<any> next: HttpHandler Return: Observable<HttpEvent<any>> | Identifies and handles a given HTTP request. |