mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: remove emojify.js
This commit is contained in:
1 parent
84c38cb571
commit
5f527658f8
27 files changed
+57
-138
No files matched your search
@@ -0,0 +1,23 @@
|
||||
import { AutoloadPage } from 'vj/misc/Page';
|
||||
|
||||
const datepickerPage = new AutoloadPage('datepickerPage', async () => {
|
||||
if ($('[data-pick-date]').length) {
|
||||
await import('pickadate/lib/picker.date');
|
||||
$('[data-pick-date]').pickadate({
|
||||
format: 'yyyy-m-d',
|
||||
editable: true,
|
||||
clear: false,
|
||||
});
|
||||
}
|
||||
if ($('[data-pick-time]').length) {
|
||||
await import('pickadate/lib/picker.time');
|
||||
$('[data-pick-time]').pickatime({
|
||||
format: 'H:i',
|
||||
editable: true,
|
||||
interval: 15,
|
||||
clear: false,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
export default datepickerPage;
|
||||
Reference in new issue
Block a user