Sha256: 11ef96596a031cc5a8f7fb2e2964b858a22a46e59ee5be3bb3cc40e82d289799

Contents?: true

Size: 1.32 KB

Versions: 4

Compression:

Stored size: 1.32 KB

Contents

/*
 * ! UI development toolkit for HTML5 (OpenUI5)
 * (c) Copyright 2009-2018 SAP SE or an SAP affiliate company.
 * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
 */
sap.ui.define(['./library','./QuickViewBase','./NavContainer','./Page','./ScrollContainer','./QuickViewCardRenderer'],function(l,Q,N,P,S,a){"use strict";var b=Q.extend("sap.m.QuickViewCard",{metadata:{library:"sap.m",properties:{showVerticalScrollBar:{type:"boolean",group:"Behavior",defaultValue:true}},designtime:"sap/m/designtime/QuickViewCard.designtime"}});b.prototype.init=function(){var n={pages:[new P()],navigate:this._navigate.bind(this),afterNavigate:this._afterNavigate.bind(this)};this._oNavContainer=new N(n);};b.prototype.onBeforeRendering=function(){this._initPages();};b.prototype.onAfterRendering=function(){this._setLinkWidth();};b.prototype.exit=function(){if(this._oNavContainer){this._oNavContainer.destroy();}};b.prototype.onkeydown=function(e){this._processKeyboard(e);};b.prototype._createPage=function(q){var c=q._createPageContent();q._mPageContent=null;var C=new S(this.getId()+'-'+q.getPageId(),{horizontal:false,vertical:false});if(c.header){C.addContent(c.header);}C.addContent(c.form);C.addStyleClass('sapMQuickViewPage');return C;};b.prototype._setLinkWidth=function(){this.$().find(".sapMLnk").css("width","auto");};return b;});

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
fiveapples-0.0.7 lib/openui5-runtime-1.60.23/resources/sap/m/QuickViewCard.js
fiveapples-0.0.6 lib/openui5-runtime-1.60.23/resources/sap/m/QuickViewCard.js
fiveapples-0.0.5 lib/openui5-runtime-1.60.23/resources/sap/m/QuickViewCard.js
jekyll-openui5-0.1.0 assets/sap/m/QuickViewCard.js