concept status in category svelte

appears as: status, status
Svelte and Sapper in Action

This is an excerpt from Manning's book Svelte and Sapper in Action.

The following example renders a message that only has the CSS class error if the value of the status variable is greater than or equal to 400.

<div class={status >= 400 ? 'error' : ''}>{message}</div>    #1

The status of a service worker is displayed after the Status label. For example, it may say “activated and is running.” To stop the service worker, click the Stop link after the status. The Stop link will change to Start, and this can be clicked to restart it.