tag
The eagle.tag API allows easy access to the tags in the current application.
// Get all tags
const tags = await eagle.tag.get();
// Filter tags by name
const designTags = await eagle.tag.get({ name: "design" });
// Get recently used tags
const recents = await eagle.tag.getRecentTags();
// Get starred tags
const starred = await eagle.tag.getStarredTags();Methods
get(options)
getRecentTags()
getStarredTags()
merge(options)
Class: Tag
Instance Methods
save()
Instance Properties
name string
name stringcount number
count numbercolor string
color stringgroups string[]
groups string[]pinyin string
pinyin stringLast updated