Overview

Getting Started

Installation

To get started install Action Archive with your package manager of choice:

npm add action-archive

Usage

Action Archive always exports actions compatible with Svelte's action syntax. This means you can use any of the actions provided by Action Archive like this:

<script lang="ts">
    import { action, type ActionParameters } from 'action-archive';
    
    const actionParameters: ActionParameters = { /* ... */ };
</script>

<div use:action={actionParameters} on:aa_action_event />

Note: Not all actions have parameters and/or emit events, this is to showcase what it looks like when they do.