Blocks API reference
This API reference contains all the block-related exports of the Tripetto Builder package. These exports are used when developing custom blocks.
info
This package is also used when integrating the builder into custom projects. The API reference for integrating the builder is located in the builder documentation.
⨠Installation â
- npm
- Yarn
- pnpm
npm install @tripetto/builder
yarn add @tripetto/builder
pnpm add @tripetto/builder
Typescript support
This package contains type declarations and supports TypeScript out-of-the-box.
đ Classesâ
Await
Branch
Branches
Callback
Section
Sections
Condition
ConditionBlock
Conditions
ConditionsOrchestrator
EditorOrchestrator
Node
NodeBlock
Nodes
đ Decoratorsâ
Class decorators âšī¸â
Property decorators âšī¸â
Method decorators âšī¸â
@assigned
@conditions
@created
@deleted
@destroyed
@detached
@editor
@refreshed
@renamed
@reordered
@slots
@unassigned
@upgraded
âļī¸ Functionsâ
_
_n
arrayItem
arraySize
assert
call
callAsync
callBind
callPromise
cancelFrame
cancelPromise
cast
castToBoolean
castToFloat
castToNumber
castToString
clone
compare
count
destroy
each
eachReverse
extend
extendImmutable
filter
find
findFirst
findLast
firstArrayItem
forEach
get
getBoolean
getFloat
getHelpTopic
getMetadata
getNumber
getSlotIcon
getString
hasOneOrMore
hasOnly
insertVariable
isArray
isBoolean
isCollection
isDate
isDefined
isError
isFilledString
isFloat
isFunction
isNull
isNumber
isNumberFinite
isObject
isPromise
isRegEx
isString
isUndefined
isVariable
lastArrayItem
lookupVariable
makeMarkdownSafe
map
markdownifyToString
npgettext
pgettext
populateSlots
populateVariables
reduce
scheduleAction
scheduleAndCancelFrame
scheduleAndCancelPromise
scheduleAnimation
scheduleEvent
scheduleFrame
schedulePromise
set
stringLength
đī¸ Modulesâ
âī¸ Interfacesâ
đŋ Constantsâ
đ Source code â
The Tripetto Builder package code is on GitLab.