Interface APLink

interface APLink {
    height?: number;
    href?: string;
    hreflang?: string;
    mediaType?: string;
    name?: string;
    nameMap?: NameMapField;
    preview?: PreviewField;
    rel?: string | string[];
    type?: string | string[];
    width?: number;
}

Properties

height?: number

On a Link, specifies a hint as to the rendering height in device-independent pixels of the linked resource. Type: Non negative integer

Docs

href?: string

The target resource pointed to by a Link.

Docs

hreflang?: string

Hints as to the language used by the target resource. Field MUST be a [BCP47] Language-Tag.

Docs

mediaType?: string

When used on a Link, identifies the MIME media type of the referenced resource

Docs

name?: string

A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. [For multiple language-tagged values use nameMap property]

Docs

nameMap?: NameMapField

A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. [For a single value use name property]

Docs

preview?: PreviewField

Identifies an entity that provides a preview of this object.

Docs

rel?: string | string[]

A link relation associated with a Link. The value MUST conform to both the [HTML5] and [RFC5988] "link relation" definitions. In the [HTML5], any string not containing the "space" U+0020, "tab" (U+0009), "LF" (U+000A), "FF" (U+000C), "CR" (U+000D) or "," (U+002C) characters can be used as a valid link relation.

Docs

type?: string | string[]

Identifies the Object type. Multiple values may be specified.

Docs (@type)

width?: number

On a Link, specifies a hint as to the rendering width in device-independent pixels of the linked resource. Type: Non negative integer

Docs

Generated using TypeDoc