getFilterFunction

returns the function that checks the passed item against the filter criteria

function getFilterFunction();
functionthe function that checks the filter criteria

Example

const filter = $$("filter-view").getFilterFunction();
// "filter-view"` is the ID of Filter
$$("data-component").filter(obj => filter(obj));
// "data-component"` is the data component that must be filtered

Related samples

See also
  • Articles
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.