Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add full working example or link to tutorial with working example #220

Open
clecap opened this issue Nov 12, 2019 · 5 comments
Open

Add full working example or link to tutorial with working example #220

clecap opened this issue Nov 12, 2019 · 5 comments

Comments

@clecap
Copy link

clecap commented Nov 12, 2019

Thanx for the great library, but I was unable to get it working from the "examples" in the readme.

The readme does not provide a full working example but just code snippets. It still is not clear which parameter I missed, but I did not get a working sample through hours. :-(

For me https://redstapler.co/split-js-tutorial-website-split-screen-effect/ was very helpful since they provided a simple, minimal working example which was running out of the box.

Suggest you either provide your own working examples (as in fully complete, minimal stand alone example) or add a link to the above site, since they are having one.

@abykal
Copy link

abykal commented Nov 17, 2019

Yes, absolutely right. I was struggling with the same and above link was really helpful.

@vasyl-shumskyi
Copy link

same here. simple jsfiddle would be awesome!

@mohanen
Copy link

mohanen commented Dec 24, 2019

yea, i spent more time hitting my head in getting it done

@mohanen
Copy link

mohanen commented Dec 24, 2019

Thanx for the great library, but I was unable to get it working from the "examples" in the readme.

The readme does not provide a full working example but just code snippets. It still is not clear which parameter I missed, but I did not get a working sample through hours. :-(

For me https://redstapler.co/split-js-tutorial-website-split-screen-effect/ was very helpful since they provided a simple, minimal working example which was running out of the box.

Suggest you either provide your own working examples (as in fully complete, minimal stand alone example) or add a link to the above site, since they are having one.

@clecap That link helped me, i got it working in a minute.

@bryik
Copy link

bryik commented Mar 1, 2020

Here is a small CodePen demo.

The first example in the readme appears broken because the elements being split are empty divs and the gutter has no height. The example works once you add some dimensions and color. It would be better if the example was "copy and paste"-ready (also flex is better than float IMO).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants