Skip to content

Commit 4c38da6

Browse files
committed
bundler and preserve
1 parent 432499b commit 4c38da6

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Diff for: script/form/DateTimePage.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,12 @@ export class DateTimePage extends Page {
9494
timefield({
9595
name: "time",
9696
label: "Time",
97-
value: "22:15"
97+
value: "22:15",
98+
listeners: {
99+
change:(field, newValue, oldValue) => {
100+
console.log("timefield change", newValue, oldValue)
101+
}
102+
}
98103
}),
99104

100105
comp(), //for breaking to next line

Diff for: tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"strict" : true,
44
"target": "es2020",
55
"lib": ["es2020", "dom"],
6-
"moduleResolution": "nodenext",
7-
"module": "nodenext",
6+
"moduleResolution": "bundler",
7+
"module": "preserve",
88
"esModuleInterop": true,
99
"forceConsistentCasingInFileNames": true,
1010
"isolatedModules": true,

0 commit comments

Comments
 (0)