The dashly.open() method is used to manage the opening of dialogs and switching to social media screens in the Dashly app. This method provides flexibility in navigating dialogs and social media screens, improving the user experience in the Dashly app. The function can accept an object with parameters that determine what action will be performed.
conversation: 'new'
parameter. This will create and open a new dialog window.dashly.open({conversation: 'new'})
dashly.open({conversation: 'vk'})
conversation
parameter is not specified or is specified incorrectly, the method will open the standard start screen.
Example, if the parameter is missing:dashly.open()
Example, with an invalid parameter:
dashly.open({conversation: 'unknown'})