Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Text object properties

$
0
0

Hi,

I'm trying to develop a SAPUI5 application.

I've seen that some objects, let's say sap.ui.commons.Panel, have a text property.

 

  var heSubHeader = new sap.ui.commons.Panel({

    text: {

      path: '/data',

      type: new sap.ui.model.type.Date({pattern: 'dd.MM.YYYY'})

    }

  });

 

I'm not able to find the documentation explaining the properties of this text object.

If I look at the API documentation for sap.ui.commons.Panel I don't see any mention of the text object:

 

The supported settings are:

  • Properties
    • value : string (default: '')
    • textDirection : sap.ui.core.TextDirection (default: sap.ui.core.TextDirection.Inherit)
    • enabled : boolean (default: true)
    • editable : boolean (default: true)
    • visible : boolean (default: true)
    • required : boolean (default: false)
    • width : sap.ui.core.CSSSize
    • maxLength : int (default: 0)
    • valueState : sap.ui.core.ValueState (default: sap.ui.core.ValueState.None)
    • textAlign : sap.ui.core.TextAlign (default: sap.ui.core.TextAlign.Begin)
    • imeMode : sap.ui.core.ImeMode (default: sap.ui.core.ImeMode.Auto)
    • design : sap.ui.core.Design (default: sap.ui.core.Design.Standard)
    • helpId : string (default: '')
    • accessibleRole : sap.ui.core.AccessibleRole (default: sap.ui.core.AccessibleRole.Textbox)
    • name : string
    • placeholder : string
  • Aggregations 
  • Associations
  • Events
    • change : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
    • liveChange : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]

 

Can someone help me to find the documentation about this text object?

Thank you,

Pietro


Viewing all articles
Browse latest Browse all 6178

Trending Articles