-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[docs] targetFramerate does not make it clear what units. #4897
Comments
I think you are right, but would like to hear from @sorvell or @kevinpschaaf to confirm my suspicion. |
No, not quite.
So if you set the |
Ah, ok. Hrm. Not quite what I had envisioned. I am using dom-repeat with iron-ajax, and wanted to limit the number of requests made per second. That isn't what it is doing. Oh well. |
Yeah, sg. I can add some of that to the API docs. |
Clarify docs on target-framerate. Fixes #4897
The name of the property implies 'Hz', and the words in the comment also imply 'Hz', but it isn't explicit.
Please confirm the units of the target framerate are Hz...ie the intention is to
initial-count
items are rendered everytarget-framerate
frames.If I understand correctly, if I set 'initial-count' to '1', and 'target-framerate' to '1', then dom-repeat will attempt to render one additional item per second. Is that correct?
The text was updated successfully, but these errors were encountered: