Skip to content

resources-html.ts#

View Markdown

Source

2 documented symbols. Read the signatures first, then expand each item for parameters, return types, and examples.

2 symbols 1 variables 1 modules

Reference#

variableconst RESOURCE_TAG = /<(?:img|video|audio|source|track|a)\b[^>]*>/giCollect local src, poster, and relevant href values from HTML tags.

Collect local src, poster, and relevant href values from HTML tags.

Signature

const RESOURCE_TAG = /<(?:img|video|audio|source|track|a)\b[^>]*>/gi

View source

moduleresources-htmlCollect local src, poster, and relevant href values from HTML tags.

Collect local src, poster, and relevant href values from HTML tags.

View source