Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Tag

Represents a page of tag results, as well as a list of various details about a tag

export
class

Tag

Hierarchy

  • Tag

Index

Properties

category

category: string = ""

The category of tags this tag is in

readonly
type

{string}

memberof

Tag

description

description: string = ""

The description of this tag

readonly
type

{string}

memberof

Tag

filterID

filterID: DefaultFilters | number = DefaultFilters.DEFAULT

The filter ID used for this search

readonly
type

{number}

memberof

Tag

id

id: number = 0

The ID of this tag

readonly
type

{number}

memberof

Tag

imageCount

imageCount: number = 0

The number of images on this tag

readonly
type

{number}

memberof

Tag

name

name: string = ""

The name of this tag

readonly
type

{string}

memberof

Tag

nameInNamespace

nameInNamespace: string = ""

The name of the tag in its namespace (part after the colon)

readonly
type

{string}

memberof

Tag

namespace

namespace: string = ""

The namespace this tag is in (part before the colon)

readonly
type

{string}

memberof

Tag

nextPage

nextPage: number = 0

The next page of results for this tag

type

{number}

memberof

Tag

slug

slug: string = ""

The sluggified name of this tag

readonly
see

Helpers#sluggify

type

{string}

memberof

Tag

spoilerImage

spoilerImage: string = ""

The image used for spoilering images with this tag

readonly
type

{string}

memberof

Tag

Methods

fetchNextPage

  • fetchNextPage(): Promise<Tag>
  • Fetches the next page of images on this tag

    memberof

    Tag

    Returns Promise<Tag>

Generated using TypeDoc