@nopa/svelte-plus-blocks
v0.4.1
Published
Experimental Interface between Svelte and Blocks
Readme
@nopa/svelte-plus-blocks
Experimental interface between Svelte and Blocks, providing seamless integration for property management and button interactions.
Installation
npm install @nopa/svelte-plus-blocksRequirements
- Svelte 5.0.0 or higher
Usage
<script>
import { BlocksButton } from '@nopa/svelte-plus-blocks';
import { BAction } from '@nopa/svelte-plus-blocks';
</script>
<BlocksButton label="Click me!" primaryAction={BAction.SetProperty('test', true)} />Components
BlocksButton
A Svelte component for manipulating Blocks properties, etc. via a button click.
License
MIT
