72 lines
1.9 KiB
JavaScript
72 lines
1.9 KiB
JavaScript
var capacitorStatusBar = (function (exports, core) {
|
|
'use strict';
|
|
|
|
/// <reference types="@capacitor/cli" />
|
|
exports.Style = void 0;
|
|
(function (Style) {
|
|
/**
|
|
* Light text for dark backgrounds.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
Style["Dark"] = "DARK";
|
|
/**
|
|
* Dark text for light backgrounds.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
Style["Light"] = "LIGHT";
|
|
/**
|
|
* The style is based on the device appearance.
|
|
* If the device is using Dark mode, the statusbar text will be light.
|
|
* If the device is using Light mode, the statusbar text will be dark.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
Style["Default"] = "DEFAULT";
|
|
})(exports.Style || (exports.Style = {}));
|
|
exports.Animation = void 0;
|
|
(function (Animation) {
|
|
/**
|
|
* No animation during show/hide.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
Animation["None"] = "NONE";
|
|
/**
|
|
* Slide animation during show/hide.
|
|
* It doesn't work on iOS 15+.
|
|
*
|
|
* @deprecated Use Animation.Fade or Animation.None instead.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
Animation["Slide"] = "SLIDE";
|
|
/**
|
|
* Fade animation during show/hide.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
Animation["Fade"] = "FADE";
|
|
})(exports.Animation || (exports.Animation = {}));
|
|
/**
|
|
* @deprecated Use `Animation`.
|
|
* @since 1.0.0
|
|
*/
|
|
const StatusBarAnimation = exports.Animation;
|
|
/**
|
|
* @deprecated Use `Style`.
|
|
* @since 1.0.0
|
|
*/
|
|
const StatusBarStyle = exports.Style;
|
|
|
|
const StatusBar = core.registerPlugin('StatusBar');
|
|
|
|
exports.StatusBar = StatusBar;
|
|
exports.StatusBarAnimation = StatusBarAnimation;
|
|
exports.StatusBarStyle = StatusBarStyle;
|
|
|
|
return exports;
|
|
|
|
})({}, capacitorExports);
|
|
//# sourceMappingURL=plugin.js.map
|