not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
755 B

  1. /**
  2. An onyx-styled RichText control. In addition to the features of
  3. <a href="#enyo.RichText">enyo.RichText</a>, onyx.RichText has a
  4. *defaultFocus* property that can be set to true to focus the RichText when
  5. it's rendered. Only one RichText should be set as the *defaultFocus*.
  6. Typically, an onyx.RichText is placed inside an
  7. <a href="#onyx.InputDecorator">onyx.InputDecorator</a>, which provides
  8. styling, e.g.:
  9. {kind: "onyx.InputDecorator", components: [
  10. {kind: "onyx.RichText", style: "width: 100px;", onchange: "inputChange"}
  11. ]}
  12. Note that RichTexts must be explicitly sized for width. In addition,
  13. RichText is not supported on Android < 3.
  14. */
  15. enyo.kind({
  16. name: "onyx.RichText",
  17. kind: "enyo.RichText",
  18. classes: "onyx-richtext"
  19. });