svelte-log-view

show log content

Example

Check out the code in the tests/app folder, or the live example.

  const source = {
    abort: async () => { }, //abort data fetching
    fetch: async function * f(cursor, number) // fetch entries starting after cursor
    { yield "my log entry 1"; yield "my log entry 2"; }
  };

Or the live example.

API

Table of Contents

install

With npm do:

npm install svelte-log-view

With yarn do:

yarn add svelte-log-view

license

BSD-2-Clause

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes