search

stores text from the search input of the active list

string search;

Example

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
});

Details

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.

See also
Back to top