# new TagsQuery(search)
Creates a TagsQuery
Parameters:
Name | Type | Description |
---|---|---|
search |
string | Term to filter tags list |
- Source:
Methods
# (static) all() → {TagsQuery}
All tags.
- Source:
Returns:
New instance.
- Type
- TagsQuery
# (static) search(searchTerm) → {TagsQuery}
Search for a specific tag.
Parameters:
Name | Type | Description |
---|---|---|
searchTerm |
string | Search term. |
- Source:
Returns:
New instance.
- Type
- TagsQuery
# followedBy(id) → {TagsQuery}
Get tags followed by a specific user.
Parameters:
Name | Type | Description |
---|---|---|
id |
UserId | User ID. |
- Source:
Returns:
Same query.
- Type
- TagsQuery
# inTarget(target) → {TagsQuery}
Filter in which target execute the search.
Parameters:
Name | Type | Description |
---|---|---|
target |
PostActivityTarget | Search target. |
- Source:
Returns:
Same instance.
- Type
- TagsQuery
# onlyTrending(trending) → {TagsQuery}
Get only trending tags.
Parameters:
Name | Type | Description |
---|---|---|
trending |
boolean | Only trending tags or all. |
- Source:
Returns:
Same query.
- Type
- TagsQuery