Sha256: 8be5ef2091ac103c91d259b8a6704b3ee977828f4c54d421a1f5a7f0a58606b6
Contents?: true
Size: 1.61 KB
Versions: 3
Compression:
Stored size: 1.61 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. */ // Provides functionality for activity detection sap.ui.define(['sap/ui/util/ActivityDetection', 'jquery.sap.global'], function(ActivityDetection, jQuery) { "use strict"; /** * @public * @name jQuery.sap.act * @namespace * @static * @deprecated since 1.58 use {@link module:sap/ui/util/ActivityDetection} instead */ jQuery.sap.act = ActivityDetection; /** * Registers the given handler to the activity event, which is fired when an activity was detected after a certain period of inactivity. * * The Event is not fired for Internet Explorer 8. * * @param {Function} fnFunction The function to call, when an activity event occurs. * @param {Object} [oListener] The 'this' context of the handler function. * @protected * * @function * @name jQuery.sap.act#attachActivate */ /** * Deregisters a previously registered handler from the activity event. * * @param {Function} fnFunction The function to call, when an activity event occurs. * @param {Object} [oListener] The 'this' context of the handler function. * @protected * * @function * @name jQuery.sap.act#detachActivate */ /** * Checks whether recently an activity was detected. * * @return true if recently an activity was detected, false otherwise * @protected * * @function * @name jQuery.sap.act#isActive */ /** * Reports an activity. * * @public * * @function * @name jQuery.sap.act#refresh */ return jQuery; });
Version data entries
3 entries across 3 versions & 1 rubygems