syncThemeForLocalDev method

void syncThemeForLocalDev(
  1. String path
)

Used to configure TalkJS to use a theme hosted on the same location as your application for development.

@remarks Tells TalkJS to use a theme hosted on the same location as your application (e.g. localhost:8000/). e.g. Call talkSession.syncThemeForLocalDev("/assets/css/talkjs-theme.css") just before you call createInbox or createChatbox. TalkJS will then use the specified file instead of using a theme created in the dashboard.

@param path - The path to the theme's CSS file

Implementation

external void syncThemeForLocalDev(String path);