-
Notifications
You must be signed in to change notification settings - Fork 0
/
elements-demo.html
36 lines (32 loc) · 1.15 KB
/
elements-demo.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<script src="dist/elements/elements.js"></script>
</head>
<body>
<section class="section">
<div class="container">
<h1 class="title">Web Component</h1>
<div class="card">
<div class="card-content">
<gloss-view source="Indonesian (Sneddon 1996:237)" example="Mereka *di Jakarta* sekarang."
gloss="they in Jakarta now">
<span slot="translation">They are in Jakarta now.</span>
</gloss-view>
</div>
</div>
<div class="card">
<div class="card-content">
<gloss-view translation="Now their farm will not stay behind forever."
example="Gila abur-u-n ferma hamišaluǧ güǧüna amuq’-da-č."
gloss="now they*-OBL-GEN farm for*ever behind stay-FUT-NEG">
<span slot="source">Lezgian (Haspelmath 1993:207)</span>
</gloss-view>
</div>
</div>
</body>
</html>