• Choose actor from list.

    This is simplified interface to pf1.applications.ActorSelector

    Parameters

    • options: {
          actors: undefined | Actor[];
          appOptions: undefined | object;
          disableUnowned: undefined | boolean;
          filter: undefined | Function;
          ownership: any;
          renderOptions: undefined | object;
          selected: undefined | string;
          showUnowned: undefined | boolean;
          title: undefined | string;
      } = {}

      Options

      • actors: undefined | Actor[]

        Actor list to choose from.

      • appOptions: undefined | object

        Application options

      • disableUnowned: undefined | boolean

        Disable interactions with unowned actors.

      • filter: undefined | Function

        Filtering callback function.

      • ownership: any

        Minimum Ownership level

      • renderOptions: undefined | object

        Render options

      • selected: undefined | string

        Already selected actor ID.

      • showUnowned: undefined | boolean

        Whether to show unowned actors.

      • title: undefined | string

        Dialog title

    Returns Promise<null | string>

    • Actor ID or null if cancelled.

Generated using TypeDoc