JSR

Activity.prototype.getObject(options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise<Object | null>

When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added.

Parameters

Return Type

Use with

Deno logo

Deno

Deno logo

Deno

pnpm logo

pnpm

Yarn logo

Yarn

vlt logo

vlt

npm logo

npm

Bun logo

Bun

Add Package

deno add jsr:@fedify/vocab

Import symbol

import { Activity } from "@fedify/vocab";

or

Import directly with a jsr specifier

import { Activity } from "jsr:@fedify/vocab@^2.3.6";

Document Navigation

Read the original on jsr.io ↗