butterfloat


butterfloat / runOnlyStamps

Function: runOnlyStamps()

runOnlyStamps(container, component, stamps, options?, placeholder?, document?): Subscription

Defined in: runtime-only-stamps.ts:19

Experimental

Preview only functionality because Butterfloat internally uses anonymous components

Run a Butterfloat component with only Stamps

Parameters

container

Element

Container the component will be a child in

component

Component or description of component to run

ComponentDescription | Component

stamps

StampCollection

options?

RuntimeOptions

placeholder?

Optional placeholder child of the container to replace

Element | CharacterData

document?

Document = globalThis.document

Document to use for creating new nodes

Returns

Subscription

Subscription