valor-software/ng2-bootstrap

View on GitHub
scripts/docs/api-doc-test-cases/interface-with-properties.ts

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * Represent options available when opening new modal windows.
 */
export interface NgbModalOptions {
  /**
   * Weather a backdrop element should be created for a given modal (true by default).
   * Alternatively, specify 'static' for a backdrop which doesn't close the modal on click.
   */
  backdrop?: boolean | 'static';

  /**
   * Weather to close the modal when escape key is pressed (true by default).
   */
  keyboard?: boolean;

  /**
   * Size of a new modal window.
   */
  size?: 'sm' | 'lg';
}