svelte-log-view Svelte Themes

Svelte Log View

show log content

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

Loading Svelte Themes