class YuiRestClient::Widgets::Richtext

Class representing a richtext in the UI. It can be YRichText.

Public Instance Methods

text() click to toggle source

Returns text value for the richtext. @return [String] value @example Get text value for YRichText

{
  "class": "YRichText",
  "enabled": false,
  "hstretch": true,
  "id": "test",
  "text": "<small>Select something here</small>",
  "vstretch": true,
  "vweight": 25
}

@example

text = app.richtext(id: 'test').text # "<small>Select something here</small>"
# File lib/yui_rest_client/widgets/richtext.rb, line 31
def text
  property(:text)
end