Remote Cursors

By default, a remote cursor and selection will be displayed for each remote user in the coediting session. The remote cursor mirrors the remote user's cursor position and selection. You can optionally disable these visual assistants via the showCursor initialization parameter.

Toggling User Name

Each remote cursor will be rendered with the name of the remote user. By default, the user name will be be toggled on when the user generates editing activities and then toggled off when no activity is detected. To toggle on the user name at all times, set cursorAlwaysOn initialization parameter.

Enable/Disable

You may also programmatically toggle remote cursors at run time via the following client API calls. These calls will only have visible effect after the user has started or joined a session.

codox.cursors.hide()

Hides remote cursor positions and selections

codox.cursors.show()

Displays remote cursor positions and selections

Last updated