Skip to content

Instantly share code, notes, and snippets.

🎯
Creating cool stuff around SAP ecosystem

Emanuele Ricci StErMi

🎯
Creating cool stuff around SAP ecosystem
Block or report user

Report or block StErMi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@StErMi
StErMi / methods.md
Created Sep 12, 2017
openui5-multiinputdialog Methods
View methods.md
Name Description
setSelectDialogTitle Set the SelectDialog Title
setSelectDialogNoDataText Set the SelectDialog text when there's no item available
setSelectDialogMultiSelect Set the SelectDialog multiselect mode
setSelectDialogGrowingThreshold Set the SelectDialog growing threshold
setSelectDialogContentWidth Set the SelectDialog content width
setSelectDialogRememberSelections Set if the SelectDialog should remember selections
setSelectDialogContentHeight Set the SelectDialog content height
existToken Check if a Token already exists in the MultiInput
@StErMi
StErMi / parameters.md
Last active Sep 12, 2017
openui5-multiinputdialog Parameters
View parameters.md
Name Type Default Description
selectDialogFilterKeys string[] null List of keys to filter select dialog items with
selectDialogMode String CheckSelected HideSelected
@StErMi
StErMi / view.xml
Created Sep 12, 2017
openui5-multiinputdialog View.xml
View view.xml
<df:MultiInputDialog
suggestionItems="{oData>/Customers}"
tokens="{oDataModel>/tokens}"
tokenUpdate="onTokenUpdate"
selectDialogItems="{oData>/Customers}"
selectDialogFilterKeys="ContactName,ContactTitle"
selectDialogMultiSelect="true">
<df:suggestionItems>
<core:Item
key="{oData>CustomerID}"
@StErMi
StErMi / manifest.json
Created Sep 12, 2017
openui5-multiinputdialog manifest.json
View manifest.json
"sap.ui5": {
...
"dependencies": {
"minUI5Version": "1.30.0",
"libs": {
...
"it.designfuture.multiinputdialog": {}
}
},
"resourceRoots": {
View openui5-toastr-methods.md
Name Description
info Show an info toast
success Show a success toast
warning Show an warning toast
error Show an error toast
clearToast Clear a specific toast
clearLastToast Clear the last toast showed
clearAllToast Clear all the toasts stacked
@StErMi
StErMi / openui5-toastr-configuration.md
Created Sep 8, 2017
openui5-toastr Configuration
View openui5-toastr-configuration.md
Name Type Default Description
closeButton boolean false Optionally enable a close button
debug boolean false Show more debug informations
progressBar boolean false Visually indicate how long before a toast expires.
preventDuplicates boolean false Rather than having identical toasts stack, set the preventDuplicates property to true. Duplicates are matched to the previous toast based on their message content.
tapToDismiss boolean true Tap toast to dismiss it
newestOnTop boolean true Show newest toast at bottom
showEasing boolean "swing" Animation easing
hideEasing boolean "linear" Animation easing
View sapui5-toastr-example.json
Toastr.info('This is a call title', 'And this is a call message', {
"closeButton": false,
"debug": false,
"progressBar": false,
"preventDuplicates": false,
"tapToDismiss": true,
"newestOnTop": true,
"showEasing": "swing",
"hideEasing": "linear",
"showMethod": "fadeIn",
@StErMi
StErMi / manifest.json
Created Sep 8, 2017
openui5-toastr manifest.json
View manifest.json
"sap.ui5": {
...
"dependencies": {
"minUI5Version": "1.30.0",
"libs": {
...
"it.designfuture.toastr": {}
}
},
"resourceRoots": {
@StErMi
StErMi / library-preload.js
Created Aug 7, 2017
openui5-flatpickr library-preload.js
View library-preload.js
jQuery.sap.registerPreloadedModules({
"version": "2.0",
"name": "it.designfuture.flatpickr.library-preload",
"modules": {
"it/designfuture/flatpickr/FlatDatePicker.js": "/*!\r\n * ${copyright}\r\n */\r\n\r\n// Provides control it.designfuture.flatpickr.FlatDatePicker\r\nsap.ui.define([\r\n\t\t'jquery.sap.global',\r\n\t\t'sap/m/InputBase',\r\n\t\t'./3rdparty/flatpickr',\r\n\t\t'./library'\r\n\t], function(jQuery, InputBase, flatpickr, library) {\r\n\t\"use strict\";\r\n\r\n\t/**\r\n\t * Constructor for a new FlatDatePicker.\r\n\t *\r\n\t * @param {string} [sId] id for the new control, generated automatically if no id is given \r\n\t * @param {object} [mSettings] initial settings for the new control\r\n\t *\r\n\t * @class\r\n\t * FlatDatePicker TODO ADD HERE A DESCRIPTION\r\n\t * @extends sap.m.InputBase\r\n\t * @version ${version}\r\n\t *\r\n\t * @constructor\r\n\t * @public\r\n\t * @since 1.40\r\n\t * @name it.designfuture.flatpickr.FlatDatePicker\r\n\t */\r\n\r\n\tvar FlatDatePicker = InputBase.extend(\
@StErMi
StErMi / Gruntfile.js
Created Aug 2, 2017
Flatpickr Gruntfile.js
View Gruntfile.js
module.exports = function(grunt) {
grunt.initConfig({
dir: {
src: 'src',
dest: 'dist',
demo: 'test/demo',
src_flatpickr: 'node_modules/flatpickr/dist',
bower_components: 'bower_components',
node_modules: 'node_modules',
You can’t perform that action at this time.