tag

The eagle.tag API allows easy access to the tags in the current application.

// Get all tags
const tags = (await eagle.tag.get());

// Get recently used tags
const recents = (await eagle.tag.getRecents());

Methods

get()

Retrieves all tags.

  • Returns Promise<tags: Object[]> - the query result for tags.

const tags = (await eagle.tag.get());

getRecents()

Retrieves the most recently used tags.

  • Returns Promise<tags: Object[]> - the query result for tags.

const recents = (await eagle.tag.getRecents());

Last updated