26 lines
601 B
JavaScript
26 lines
601 B
JavaScript
'use strict';
|
|
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
const core = require('@capacitor/core');
|
|
|
|
class NativeInputWeb extends core.WebPlugin {
|
|
async present() {}
|
|
async dismiss() {}
|
|
async setText() {}
|
|
async getText() { return { text: '' }; }
|
|
async focus() {}
|
|
async blur() {}
|
|
async setPlaceholder() {}
|
|
async setEnabled() {}
|
|
async setTheme() {}
|
|
async setVisible() {}
|
|
}
|
|
|
|
const NativeInput = core.registerPlugin('NativeInput', {
|
|
web: () => Promise.resolve(new NativeInputWeb()),
|
|
});
|
|
|
|
exports.NativeInput = NativeInput;
|
|
exports.NativeInputWeb = NativeInputWeb;
|