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

How do I use this? #17

Open
coreybruce opened this issue Aug 13, 2018 · 3 comments
Open

How do I use this? #17

coreybruce opened this issue Aug 13, 2018 · 3 comments

Comments

@coreybruce
Copy link

Want to use this on html but there is no documentation on even how to use this.

@rafi16jan
Copy link

rafi16jan commented Aug 23, 2018

<script>
new FPSMeter(document.querySelector('yourelement#yourid.oryourclass'))
</script>

@coreybruce
Copy link
Author

coreybruce commented Aug 23, 2018

Do I need to direct it to the js files to make it work? I made a index html fine in the root of the fpsmeter folder and selected the id of a iframe but it didn't works so I am obviously doing it wrong.

@rafi16jan
Copy link

@coreybruce show me the code

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

2 participants