2.3.2 • Published 2 years ago

@actus/svelte v2.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@actus/svelte

bar

Svelte UI component / bindings that uses the @actus/core state machine.

Component Usage

Install it in your Svelte project with:

npm install @actus/svelte

and import it

import Actus from '@actus/svelte'

As mentioned, it should be trivial to implement this in any UI framework, have a look in src/Component.svelte to see how it's made using Svelte.

All props except commands are optional.

<Actus
    {commands}
    toggleKey="p"
    ctrlKey={false}
    placeholder="Type your best commands"
    theme={{
        "--color": "rgba(212, 208, 199, 1.00)",
        "--result-description-color": "rgba(212, 208, 199, 1.00)",
        "--background-color": "rgba(36, 36, 36, 1.00)",
        "--active-result-background-color": "rgba(64, 64, 64, 1.00)",
        "--active-result-description-color": "rgba(255, 255, 255, 1.00)",
        "--active-result-title-color": "rgba(255, 255, 255, 1.00)",
        "--scale": "1.3",
    }}
/>

Demo

Here's a demo: https://ti99l.csb.app

2.3.0

2 years ago

2.3.2

2 years ago

2.3.1

2 years ago

2.2.2

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago