simpleviewjs

1.0.17 • Public • Published

SimpleView

A very lightweight library to interact with the DOM.

Key FeaturesHow To UseLicense

Key Features

  • No dependencies
  • Very small
  • Easy to use

How To Use

Either use a CDN:

<body>
    <button sv-navigate="DocumentOverview">show</button>

    <sv-document-overview>
        <input sv-value="name" />
    </sv-document-overview>

    <script src="https://unpkg.com/simpleviewjs@latest/SimpleView.js"></script>

    <script>
        SimpleViewRepository.registerClass(class DocumentOverview extends SimpleView {
            constructor() {
                super();

                this.props.name = 'Robin';
            }
        });
    </script>
</body>

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i simpleviewjs

Weekly Downloads

1

Version

1.0.17

License

MIT

Unpacked Size

15.7 kB

Total Files

4

Last publish

Collaborators

  • robinweitzel