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

https://github.com/shiling/vue-online-prop

This does only one thing. Exposes a reactive `$online` property to all Vue components.
https://github.com/shiling/vue-online-prop

Last synced: over 1 year ago
JSON representation

This does only one thing. Exposes a reactive `$online` property to all Vue components.

Awesome Lists containing this project

README

          

This does only one thing, and one thing only.

It exposes a reactive property `$online` to every component, which you can use like this:

```html


Opps! You are offline!

```

That's all!

How to install
```javascript
import VueOnlineProp from "vue-online-prop"
Vue.use(VueOnlineProp)
```

It's a really tiny plugin (<1kb, unminified).