Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lete114/sveltejs-show

Just like the v-show in vuejs
https://github.com/lete114/sveltejs-show

Last synced: 14 days ago
JSON representation

Just like the v-show in vuejs

Awesome Lists containing this project

README

        

## SvelteJS-Show

`SvelteJS-Show` is the equivalent of `v-show` in `VueJS` will hide the element without adding any div block or destroying the component.

## Installation

```bash
npm install sveltejs-show
```

## Usage

```svelte

import show from 'sveltejs-show'
let isShow = false

{isShow=!isShow}}>{isShow}

Hello world!


```