iPopupComponent.d.ts 617 B

1234567891011
  1. import { IComponent } from "./iComponent";
  2. export interface IPopupComponent<T> extends IComponent<T> {
  3. /** Gets called once after initialised. If you return true, the component will appear in a popup, and it will be
  4. * constrained to the boundaries of the popupParent. This is great if you want to, for example, provide you own
  5. * custom dropdown list for selection. Default is false (ie if you don't provide the method). */
  6. isPopup?(): boolean;
  7. /** Called when focus is within the component */
  8. focusIn?(): void;
  9. /** Called when focus is leaving the component */
  10. focusOut?(): void;
  11. }