useConnectionStatus
import { useConnectionStatus } from '@bbc/front-end-kit/vue/showpad'
Composable that provides reactive properties to know if the user is connected to the internet or not.
Tips
This composable is a wrapper around the Connections Status utility.
Forcing it to only ping to https://www.showpad.biz since it will only be used inside the Showpad environment.
Check the Connections Status utility for more information.