egoist / Vue Network
Licence: mit
Render a Vue component to indicate network status.
Stars: ✭ 42
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Vue Network
Graphrole
Automatic feature extraction and node role assignment for transfer learning on graphs (ReFeX & RolX)
Stars: ✭ 38 (-9.52%)
Mutual labels: network
Xdp
Package xdp allows one to use XDP sockets from the Go programming language.
Stars: ✭ 36 (-14.29%)
Mutual labels: network
Ineter
Fast Java library for working with IP addresses, ranges, and subnets
Stars: ✭ 39 (-7.14%)
Mutual labels: network
Dknetworking
基于 AFNetworking + YYCache 的二次封装,支持缓存策略的网络请求框架
Stars: ✭ 41 (-2.38%)
Mutual labels: network
Net2pcap
Net2PCAP is a simple network-to-pcap capture file for Linux. Its goal is to be as simple as possible to be used in hostile environments
Stars: ✭ 36 (-14.29%)
Mutual labels: network
Go Raknet
An idiomatic Go library implementing a basic version of the RakNet protocol.
Stars: ✭ 40 (-4.76%)
Mutual labels: network
Cytoscape.js
Graph theory (network) library for visualisation and analysis
Stars: ✭ 8,107 (+19202.38%)
Mutual labels: network
Erewhon Game
Video game about programming your spaceships to destroy other programmed spaceships o/
Stars: ✭ 35 (-16.67%)
Mutual labels: network
Osmnet
Tools for the extraction of OpenStreetMap street network data
Stars: ✭ 39 (-7.14%)
Mutual labels: network
Dawn
global hosting, financial automation, server-less web components
Stars: ✭ 40 (-4.76%)
Mutual labels: network
Unrealnetworkprofiler
A modern WPF based Network Profiler for Unreal Engine.
Stars: ✭ 29 (-30.95%)
Mutual labels: network
vue-network
Install
yarn add vue-network
CDN: UNPKG | jsDelivr (available as window.VueNetwork
)
Usage
<template>
<network>
<span slot="online">network is fine</span>
<span slot="offline">oops, lost network connection</span>
</network>
</template>
<script>
import Network from 'vue-network'
export default {
components: {
Network
}
}
</script>
API
Slots
-
online
: The slot to show when app is online. -
offline
: The slot to show when app is offline.
Props
-
changedOnly
: Only show slots after network status is changed, i.e. render nothing on the first render.
Events
-
changed<online>
: Emitted after network status is changed, eg:
<network @changed="handleNetworkChanged"></network>
function handleNetworkChanged(online) {
console.log(online)
}
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
vue-network © EGOIST, Released under the MIT License.
Authored and maintained by EGOIST with help from contributors (list).
egoist.moe · GitHub @EGOIST · Twitter @_egoistlily
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].