• References
    • Main
    • RenderKit
    • LibJS
    • Canvas
  • Components
    • Overview
    • Page
    • Basic
      • Rectangle
      • Text
      • Button
      • HTML Article
      • Toggle Button
      • Tiler
      • Web View
      • Image Zoomer
    • Navigation
      • Carousel
    • Forms
      • Form
      • Text Entry
    • Layout
      • Group
  • Web API
  • Tutorials
  • Contact
Menu
  • References
    • Main
    • RenderKit
    • LibJS
    • Canvas
  • Components
    • Overview
    • Page
    • Basic
      • Rectangle
      • Text
      • Button
      • HTML Article
      • Toggle Button
      • Tiler
      • Web View
      • Image Zoomer
    • Navigation
      • Carousel
    • Forms
      • Form
      • Text Entry
    • Layout
      • Group
  • Web API
  • Tutorials
  • Contact
Umajin Developer > Components > HTML Article

HTML Article

Check out the standard help for an overview of the html article.

API Examples

// Internally the component is known as "html_article"
var html_articleComponent1 = findComponent("My Page", "html_article", "MyHtmlArticle"); // To retrieve a html_article component called "MyHtmlArticle" on a page called "My Page"
var html_articleComponent2 = findComponentInForeground("My Foreground", "html_article", "MyHtmlArticle"); // To retrieve a html_article component in the foreground.
var html_articleComponent3 = createComponent(parentComponent, "html_article", 0, 0, 100, 100); // to create a html_article component inside a custom component.
 
// Retrieving a property
var textOnHtmlArticle = getProperty(html_articleComponent1, "text");
console.log(textOnHtmlArticle);
 
// Setting a property
var htmlValue = '

hello world

‘ setProperty(html_articleComponent1, “text”, htmlValue);

Properties

See the shared property list for all properties available for this component.

PropertyTypeDescription
textstringThe text of the component
filenamestring 
html  
text_height Read Only.
native_height Read Only.

Events

See the shared event list for all events available for this component.

EventParamsDescription
on_html_url_clickedURL: string 
on_complete Called when component load completed
  • Developer Home
  • Umajin Home
  • Support Home
Menu
  • Developer Home
  • Umajin Home
  • Support Home