-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
57 lines (52 loc) · 1.46 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html lang="nb">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Kvass Web Components</title>
<style>
*,
*::before,
*::after {
box-sizing: border-box;
}
body,
html {
height: 100%;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
sans-serif;
max-width: 70ch;
margin-inline: auto;
display: flex;
flex-direction: column;
gap: 2rem;
justify-content: center;
}
</style>
</head>
<body>
<kvass-residential-expenses
price="4390000"
deposit="995000"
deposit-type="fixed"
joint-dept="70"
joint-dept-type="percent"
joint-dept-interest-rate="5"
operating-costs="2240"
part-ownership-enabled
part-ownership-discount="7.5"
part-ownership-hidden-elements="price,jointDept,monthlyCosts"
></kvass-residential-expenses>
<script type="module" src="/src/residential-expenses/main.js"></script>
<script>
// const tableBuilder = document.getElementById('table')
// tableBuilder.addEventListener('webcomponent:update', (event) => {
// console.log(event.detail)
// })
</script>
</body>
</html>