ScopeJS.Category

A set of related results returned by a scope and displayed within a single pane in the Unity dash. To create a Category, use SearchReply.register_category.

  • Methods

icon( )

Get icon of this Category


Returns:

String The category icon.

id( )

Get identifier of this Category


Returns:

String The category identifier.

query( )

Query to perform when this category is expanded


Returns:

CannedQuery The expansion query or null.

title( )

Get title of this Category


Returns:

String The category title.