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
Up and Running/ Tour Libs / HTML / considering adding to the remarks on Hide Elements example #19049
Comments
Set owner to @kwalrath. |
Removed Area-Documentation label. |
How about changing it to this: // Find all elements with class=os. Note the string interpolation with $os. Added Started label. |
Or maybe: // Find all elements with class=os. For example, if os == 'windows', call |
CL in review: https://chromiumcodereview.appspot.com/453093005/ |
Added Fixed label. |
This issue has been moved to Github as part of a migration. Please use the Issue on Github going forward: https://github.com/dart-lang/dartlang.org/issues |
This issue was originally filed by NetaisLL...@gmail.com
URL: https://www.dartlang.org/docs/dart-up-and-running/contents/ch03.html#ch03-manipulating-the-dom
Issue/feedback:
The code example wherein elements are hidden/shown based on the
OS of the platform is super cool.
However, it took me a few minutes to grok the use of the CSS selector
".$os". I assume it is a use of Dart's string interpolation.
I think the example would benefit from a small comment that
points that out.
Maybe coming from JavaScript as I am got in the way...:(
Attachment:
[5-27-2014 2-04-09 PM.jpg](https://storage.googleapis.com/google-code-attachments/dart/issue-19049/comment-0/5-27-2014 2-04-09 PM.jpg) (98.02 KB)
The text was updated successfully, but these errors were encountered: