tree: 98aebbf9efd50aac2500f9f1f692b5380f3014a3 [path history] [tgz]
  1. chromeos/
  2. cr_action_menu/
  3. cr_checkbox/
  4. cr_dialog/
  5. cr_drawer/
  6. cr_expand_button/
  7. cr_input/
  8. cr_lazy_render/
  9. cr_link_row/
  10. cr_profile_avatar_selector/
  11. cr_radio_button/
  12. cr_radio_group/
  13. cr_search_field/
  14. cr_searchable_drop_down/
  15. cr_slider/
  16. cr_toast/
  17. cr_toggle/
  18. cr_toolbar/
  19. cr_view_manager/
  20. policy/
  21. .eslintrc.js
  22. BUILD.gn
  23. cr_container_shadow_behavior.html
  24. cr_container_shadow_behavior.js
  25. cr_icons_css.html
  26. cr_scrollable_behavior.html
  27. cr_scrollable_behavior.js
  28. hidden_style_css.html
  29. icons.html
  30. OWNERS
  31. paper_button_style_css.html
  32. paper_tabs_style_css.html
  33. README.md
  34. search_highlight_style_css.html
  35. shared_style_css.html
  36. shared_vars_css.html
ui/webui/resources/cr_elements/README.md

This directory contains simple Polymer web components for Web UI. These components may be shared across any WebUI and should be compatible across all platforms (including ios).

These web components may not contain any i18n dependencies and may not use I18nBehavior. Instead, any text (labels, tooltips, etc) should be passed as properties.

These web components should avoid the use of chrome.send and should generally avoid dependencies on extension APIs as well.

TODO(stevenjb/dpapad): Audit elements currently using chrome.settingsPrivate and chrome.networkingPrivate and decide whether to move these or update the guidelines.

For more complex components, see cr_components.