Skip to main content
Home
This release is 18 versions behind 5.0.12 — the latest version of @lost-c3/lib. Jump to latest

Lost for easy making Construct 3 Addons.

This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
35%
Published
5 months ago (3.3.2)
class Behavior
extends Addon<"behavior", any, any>

Constructors

new
Behavior(config: LostConfig<"behavior">)

Methods

addProperty(
id: string,
name: string,
opts: AddonPropertyOptions<"behavior", any>,
): this

Creates plugin property.

addProperty(
id: string,
name: string,
description: string,
opts: AddonPropertyOptions<"behavior", any>,
): this

Creates plugin property.

addRemoteScripts(...urls: string[]): this

Adds a remote URL to load a script from.

createGroup(
id: string,
name: string,
): this

Creates a new group in the Properties Bar.

setRuntimeScripts(...paths: string[]): this

Change script dependencyType to: 'external-runtime-script'

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@lost-c3/lib

Import symbol

import { Behavior } from "@lost-c3/lib";
or

Import directly with a jsr specifier

import { Behavior } from "jsr:@lost-c3/lib";

Add Package

pnpm i jsr:@lost-c3/lib
or (using pnpm 10.8 or older)
pnpm dlx jsr add @lost-c3/lib

Import symbol

import { Behavior } from "@lost-c3/lib";

Add Package

yarn add jsr:@lost-c3/lib
or (using Yarn 4.8 or older)
yarn dlx jsr add @lost-c3/lib

Import symbol

import { Behavior } from "@lost-c3/lib";

Add Package

npx jsr add @lost-c3/lib

Import symbol

import { Behavior } from "@lost-c3/lib";

Add Package

bunx jsr add @lost-c3/lib

Import symbol

import { Behavior } from "@lost-c3/lib";