ModalRef Type documentation¶
TypeScript declaration¶
Reference to a modal dialog The default close value of the modal. closeValue ? : The modal options passed during creation. See: SiModalService data : Custom class for modal-dialog dialogClass : Close the modal with a custom close value. ignoreBackdropClick : The layer of the modal. The modal with the highest layer will be shown on top. Allows messaging state to consumer w/o closing the dialog. message : Emits the modal element reference when it is shown. shown : import { ModalRef } from '@siemens/element-ng/modal';
CT ¶ ModalOptions<Record<string, any>> = `{}` ¶ string = '' ¶ boolean = true ¶ Subject<CT | undefined> = new Subject<CT | undefined>() ¶ ReplaySubject<ElementRef<any>> = new ReplaySubject<ElementRef>(1) ¶
Types Documentation¶
Whether to enable animation. aria-labelled-by value. ariaLabelledBy ? : Angular bindings for component content, created with Additional CSS class. Optional environment Injector. environmentInjector ? : When set to true, clicking the backdrop has no effect. Optional element Injector. injector ? : Use this to assign values to either inputValues ? : Handle Esc to close/message. When set to true, backdrop click or Esc don't close the modal. Instead a message will be sent. Additional providers for the modal. providers ? : import type { ModalOptions } from '@siemens/element-ng/modal';
string ¶ inputBinding, outputBinding, or twoWayBinding. Ignored for template content.EnvironmentInjector Inherited from ModalDependencyInjectionOptions ¶ Injector Inherited from ModalDependencyInjectionOptions ¶ @Input() or input() fields of the provided component. If a template is used, the values are available in the template context.Record<string, unknown> ¶ StaticProvider[] Inherited from ModalDependencyInjectionOptions ¶
Optional environment Injector. Optional element Injector. Additional providers for the modal. providers ? : import type { ModalDependencyInjectionOptions } from '@siemens/element-ng/modal';
StaticProvider[] ¶
Except where otherwise noted, content on this site is licensed under MIT License.