stores text from the search input of the active list
webix.ui({
view: "chat",
url: "https://docs.webix.com/chat-backend/",
on: {
onInit: function(app) {
// logs text value from the input
app.getState().$observe("search", text => console.log(text));
}
},
// other properties
});
The property stores text from the search input of the active list ("Chats" or "Users"). It is a read-only property and can be accessed via the state object of the app.