Streams userChooser Class

Interface for selecting an app user


Streams userChooser

  • [options]


  • [options] Object optional

    this object contains function parameters

    • [onChoose] Q.Event optional

      is triggered with (userId, avatar) parameters when a user is chosen

    • [delay=500] Number optional

      how long to delay before sending a request to allow more characters to be entered

    • [exclude] Object optional

      hash of {userId: true}, where userId are the ids of the users to exclude from the results. Defaults to id of logged-in user, if logged in.

Item Index