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