-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(Collection): Change GaspardElements' class to Collection
BREAKING CHANGE: import GaspardElements shouldn't work anymore, use Collection
- Loading branch information
1 parent
2688454
commit 59168d7
Showing
6 changed files
with
44 additions
and
44 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { GaspardElements } from '../src' | ||
const elements = new GaspardElements('#app2') | ||
elements.css('background-color', 'red').addClass('test').fadeOut(2000) | ||
import { Collection } from '../src' | ||
const elements = new Collection('#app2') | ||
elements.css('background-color', 'red').fadeIn(2000) | ||
console.log(elements) |
Oops, something went wrong.