1.0.3 • Published 6 years ago

@lookrain/thanos v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
6 years ago

Wipe out half of your content nodes in your DOM (div, span, h1, h2, h3, p, li, etc)

Installation

npm install --save @lookrain/thanos

Usage

import snap from '@lookrain/thanos';

onButtonClickOrSomeOtherEventsYouHave() => {
  snap();
}

in React

import snap from '@lookrain/thanos';
...

class App extends React.Component {
  render() {
    return (
      <div>
        <button onClick={snap}>Snap</button>
        ...
      </div>
    );
  }
}

export default App;
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago