# ChannelSelector

**Kind**: interface | **Module**: [Windows](https://docs.interop.io/desktop/reference/javascript/windows/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/windows/channelselector/index.html

Settings for the Channel Selector UI.

*Since: io.Connect Desktop 9.3, @interopio/desktop 6.4.0*

## Properties

- **`channelId`** (`string`, optional)
  Name of the Channel to which the window will be joined by default when it's started.
- **`enabled`** (`boolean`, optional) default: `false`
  If `true`, will allow showing the Channel Selector.
- **`readOnly`** (`boolean`, optional) default: `false`
  If `true`, the Channel Selector will be visible, but the user won't be able to switch between Channels from it.
- **`type`** (`"single" | "directionalSingle" | "multi" | "directionalMulti"`, optional) default: `"single"` *(since io.Connect Desktop 9.3, @interopio/desktop 6.4.0)*
  Type of the Channel Selector to show on the io.Connect Windows.
  The single Channel Selector (default) allows the window to join a single Channel to which it can subscribe and publish data unrestrictedly.
  The directional single Channel Selector allows the window to join a single Channel, but also enables the user to restrict the window from publishing or from subscribing to the current Channel.
  The multi Channel Selector allows the window to join multiple Channels simultaneously to which it can subscribe and publish data unrestrictedly.
  The directional multi Channel Selector allows the window to join multiple Channels, but also enables the user to restrict the window from publishing or from subscribing to the currently joined Channels.
