From 396a8de5ccec246f39e65e725a85a177e60d38d3 Mon Sep 17 00:00:00 2001 From: ahmetgul23 <155829316+ahmetgul23@users.noreply.github.com> Date: Fri, 5 Apr 2024 20:55:36 +0300 Subject: [PATCH] Update README.md --- README.md | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/README.md b/README.md index fe58667..35e4b8c 100644 --- a/README.md +++ b/README.md @@ -63,29 +63,6 @@ import ScrollReveal from 'scrollreveal'
-# Usage - -Installation provides us with the constructor function [`ScrollReveal()`](https://scrollrevealjs.org/api/constructor.html). Calling this function returns the ScrollReveal instance, the “brain” behind the magic. - -> ScrollReveal employs the singleton pattern; no matter how many times the constructor is called, it will always return the same instance. This means we can call it anywhere, worry-free. - -There’s a lot we can do with this instance, but most of the time we’ll be using the [`reveal()`](https://scrollrevealjs.org/api/reveal.html) method to create animation. Fundamentally, this is how to use ScrollReveal: - -```html -

- Widget Inc. -

-``` - -```js -ScrollReveal().reveal('.headline') -``` - -**🔎 See this demo live on [JSBin](http://jsbin.com/jufohaxonu/edit?html,output)** - -
- ---- ### The full documentation can be found at [https://scrollrevealjs.org](https://scrollrevealjs.org)