2015-12-08 08:20:04 -05:00
|
|
|
snippet sapmlabel
|
2017-02-11 08:01:38 -05:00
|
|
|
var $1 = new sap.m.Label({
|
|
|
|
design : $2,
|
|
|
|
text : $3,
|
|
|
|
visible : $4,
|
|
|
|
textAlign : $5,
|
|
|
|
textDirection : $6,
|
|
|
|
width : $7,
|
|
|
|
required : $7
|
2015-12-08 08:20:04 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
snippet sapmtext
|
2017-02-11 08:01:38 -05:00
|
|
|
var $1 = new sap.m.Text({
|
|
|
|
text :$2,
|
|
|
|
textDirection :$3,
|
|
|
|
visible :$4,
|
|
|
|
wrapping : $5,
|
|
|
|
textAlign : $6,
|
|
|
|
width :$7,
|
|
|
|
maxLines :$8
|
2015-12-08 08:20:04 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
snippet sapmbutton
|
2017-02-11 08:01:38 -05:00
|
|
|
var $1 = new sap.m.Button({
|
|
|
|
text : $2,
|
|
|
|
type : $3,
|
|
|
|
width : $4,
|
|
|
|
enabled :$5,
|
|
|
|
visible :$6,
|
|
|
|
icon : $7,
|
|
|
|
iconFirst : $8,
|
|
|
|
activeIcon :$9,
|
|
|
|
iconDensityAware : $10,
|
2015-12-08 08:20:04 -05:00
|
|
|
});
|
|
|
|
snippet sapmflexbox
|
2017-02-11 08:01:38 -05:00
|
|
|
var $1 = new sap.m.FlexBox({
|
|
|
|
visible : $2,
|
|
|
|
height : $3,
|
|
|
|
width : $4,
|
|
|
|
displayInline :$5,
|
|
|
|
direction :$6,
|
|
|
|
fitContainer : $7,
|
|
|
|
renderType : $8,
|
|
|
|
justifyContent :$9,
|
|
|
|
alignItems : $10,
|
2015-12-08 08:20:04 -05:00
|
|
|
items:[]
|
|
|
|
});
|
|
|
|
snippet sapmhbox
|
2017-02-11 08:01:38 -05:00
|
|
|
var $1 = new sap.m.HBox({
|
|
|
|
visible : $2,
|
|
|
|
height : $3,
|
|
|
|
width : $4,
|
|
|
|
displayInline :$5,
|
|
|
|
direction :$6,
|
|
|
|
fitContainer : $7,
|
|
|
|
renderType : $8,
|
|
|
|
justifyContent :$9,
|
|
|
|
alignItems : $10,
|
2015-12-08 08:20:04 -05:00
|
|
|
items:[]
|
|
|
|
});
|
|
|
|
|
|
|
|
snippet sapmvbox
|
2017-02-11 08:01:38 -05:00
|
|
|
var $1 = new sap.m.VBox({
|
|
|
|
visible : $2,
|
|
|
|
height : $3,
|
|
|
|
width : $4,
|
|
|
|
displayInline :$5,
|
|
|
|
direction :$6,
|
|
|
|
fitContainer : $7,
|
|
|
|
renderType : $8,
|
|
|
|
justifyContent :$9,
|
|
|
|
alignItems : $10,
|
2015-12-08 08:20:04 -05:00
|
|
|
items:[]
|
|
|
|
});
|
|
|
|
|
|
|
|
snippet sapcomponent
|
2017-02-11 08:01:38 -05:00
|
|
|
sap.ui.controller("$1", {
|
2015-12-08 08:20:04 -05:00
|
|
|
onInit: function(){
|
|
|
|
},
|
|
|
|
onAfterRendering: function() {
|
|
|
|
},
|
|
|
|
onAfterRendering: function() {
|
|
|
|
},
|
|
|
|
onExit: function() {
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
snippet sapminput
|
2017-02-11 08:01:38 -05:00
|
|
|
var $1 = new sap.m.Input({
|
|
|
|
value :$2,
|
|
|
|
width : $3,
|
|
|
|
enabled :$4,
|
|
|
|
visible :$5,
|
|
|
|
valueState :$6,
|
|
|
|
name : $7,
|
|
|
|
placeholder : $8,
|
|
|
|
editable : $9,
|
|
|
|
type : $10,
|
|
|
|
maxLength :$11,
|
|
|
|
valueStateText :$12,
|
|
|
|
showValueStateMessage :$13,
|
|
|
|
dateFormat :$14,
|
|
|
|
showValueHelp :$15,
|
|
|
|
showSuggestion :$16,
|
|
|
|
valueHelpOnly :$17,
|
|
|
|
filterSuggests :$18,
|
|
|
|
maxSuggestionWidth :$19,
|
|
|
|
startSuggestion : $20,
|
|
|
|
showTableSuggestionValueHelp : $21,
|
|
|
|
description : $22,
|
|
|
|
fieldWidth : $23,
|
|
|
|
valueLiveUpdate :$24,
|
|
|
|
suggestionItems :[$25],
|
|
|
|
suggestionColumns : [$26],
|
|
|
|
suggestionRows : [$27],
|
|
|
|
liveChange : $28,
|
|
|
|
valueHelpRequest :$29,
|
|
|
|
suggest : $30,
|
|
|
|
suggestionItemSelected : $31
|
2015-12-08 08:20:04 -05:00
|
|
|
});
|
|
|
|
snippet _sthis
|
|
|
|
var _self = this;
|
|
|
|
|
|
|
|
snippet sapmresponsivepopup
|
2017-02-11 08:01:38 -05:00
|
|
|
var $1 = new sap.m.ResponsivePopover({
|
|
|
|
placement :$2 ,//sap.m.PlacementType (default: sap.m.PlacementType.Right)
|
|
|
|
showHeader :$3 ,//boolean (default: true)
|
|
|
|
title : $4,//string
|
|
|
|
icon :$5 ,//sap.ui.core.URI
|
|
|
|
modal :$6 ,// boolean
|
|
|
|
offsetX :$7, //int
|
|
|
|
offsetY :$8, //int
|
|
|
|
contentWidth : $9,//sap.ui.core.CSSSize
|
|
|
|
contentHeight :$10, //sap.ui.core.CSSSize
|
|
|
|
horizontalScrolling :$11, //boolean
|
|
|
|
verticalScrolling :$12, //boolean
|
|
|
|
showCloseButton :$13, //boolean (default: true)
|
2015-12-08 08:20:04 -05:00
|
|
|
//Aggregations
|
2017-02-11 08:01:38 -05:00
|
|
|
content :$14, //sap.ui.core.Control[]
|
|
|
|
customHeader :$15, //sap.m.IBar
|
|
|
|
subHeader : $16, //sap.m.IBar
|
|
|
|
beginButton :$17, //sap.m.Button
|
|
|
|
endButton : $18, //sap.m.Button
|
2015-12-08 08:20:04 -05:00
|
|
|
//Associations
|
2017-02-11 08:01:38 -05:00
|
|
|
initialFocus : $19, //string | sap.ui.core.Control
|
2015-12-08 08:20:04 -05:00
|
|
|
//Events
|
2017-02-11 08:01:38 -05:00
|
|
|
beforeOpen :$20, //fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
|
|
|
|
afterOpen : $21, //fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
|
|
|
|
beforeClose : $22, //fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
|
|
|
|
afterClose : $23 //fnList
|
2015-12-08 08:20:04 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
snippet sapicon
|
2017-02-11 08:01:38 -05:00
|
|
|
var $1 = new sap.ui.core.Icon({
|
|
|
|
src :$2 , //sap.ui.core.URI
|
|
|
|
size :$3 , //sap.ui.core.CSSSize
|
|
|
|
color :$4 , //sap.ui.core.CSSColor
|
|
|
|
hoverColor : $5 , // sap.ui.core.CSSColor
|
|
|
|
activeColor :$6 , //sap.ui.core.CSSColor
|
|
|
|
width :$7 , //sap.ui.core.CSSSize
|
|
|
|
height : $8 ,//sap.ui.core.CSSSize
|
|
|
|
backgroundColor :$8 , //sap.ui.core.CSSColor
|
|
|
|
hoverBackgroundColor :$9 , //sap.ui.core.CSSColor
|
|
|
|
activeBackgroundColor :$10 , //sap.ui.core.CSSColor
|
|
|
|
visible :$11 , //boolean (default: true)
|
|
|
|
decorative : $12 ,//boolean (default: true)
|
2015-12-08 08:20:04 -05:00
|
|
|
});
|
|
|
|
snippet extendVerticalL
|
2017-02-11 08:01:38 -05:00
|
|
|
sap.ui.layout.VerticalLayout.extend("$1", {
|
2015-12-08 08:20:04 -05:00
|
|
|
metadata: {
|
|
|
|
properties: {
|
2017-02-11 08:01:38 -05:00
|
|
|
$2
|
2015-12-08 08:20:04 -05:00
|
|
|
},
|
|
|
|
aggregations: {
|
2017-02-11 08:01:38 -05:00
|
|
|
$3
|
2015-12-08 08:20:04 -05:00
|
|
|
},
|
|
|
|
events: {
|
2017-02-11 08:01:38 -05:00
|
|
|
$4
|
2015-12-08 08:20:04 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
init: function(){
|
2017-02-11 08:01:38 -05:00
|
|
|
$5
|
2015-12-08 08:20:04 -05:00
|
|
|
},
|
|
|
|
|
2017-02-11 08:01:38 -05:00
|
|
|
renderer: "$6"
|
2015-12-08 08:20:04 -05:00
|
|
|
});
|
|
|
|
snippet extendHorizontalL
|
2017-02-11 08:01:38 -05:00
|
|
|
sap.ui.layout.HorizontalLayout.extend("$1", {
|
2015-12-08 08:20:04 -05:00
|
|
|
metadata: {
|
|
|
|
properties: {
|
2017-02-11 08:01:38 -05:00
|
|
|
$2
|
2015-12-08 08:20:04 -05:00
|
|
|
},
|
|
|
|
aggregations: {
|
2017-02-11 08:01:38 -05:00
|
|
|
$3
|
2015-12-08 08:20:04 -05:00
|
|
|
},
|
|
|
|
events: {
|
2017-02-11 08:01:38 -05:00
|
|
|
$4
|
2015-12-08 08:20:04 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
init: function(){
|
2017-02-11 08:01:38 -05:00
|
|
|
$5
|
2015-12-08 08:20:04 -05:00
|
|
|
},
|
|
|
|
|
2017-02-11 08:01:38 -05:00
|
|
|
renderer: "$6"
|
2015-12-08 08:20:04 -05:00
|
|
|
});
|