Skip to content

Pin beta ​

Interface of @v12-engine/client

ts
export interface Pin

An element pinned to the world. It goes with its entity, and is taken out of the page when the entity is gone

Members ​

element ​

ts
readonly element: HTMLElement;

The pinned element, which the pin moves on the page

move ​

ts
move(at: PinAt): void;

Puts it somewhere else

remove ​

ts
remove(): void;

Takes it out of the page. Its entity being gone does this by itself