vue-overflown-dom-saver
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

vue-overflown-dom-saver

Usage

Components that suppress rendering of the DOM outside the viewport to save DOM size throughout the application.

Sample Code

Vue3:

<script setup lang="ts">
import { OverflownDomSaver } from "vue-overflown-dom-saver";
</script>

<template>
  <div>
    <h1>Large DOM size view</h1>
    <ul>
      <li v-for="(_, i) in Array(1000)" :key="i">
        <OverflownDomSaver>
          <p>{{ i }}</p>
        </OverflownDomSaver>
      </li>
    </ul>
  </div>
</template>

Contribute

Contributions are welcome. Feel free to send a PR.

# development
pnpm i
pnpm dev

Dependencies (1)

Dev Dependencies (5)

Package Sidebar

Install

npm i vue-overflown-dom-saver

Weekly Downloads

0

Version

0.0.0

License

MIT

Unpacked Size

4.4 kB

Total Files

6

Last publish

Collaborators

  • minojiro