-
Notifications
You must be signed in to change notification settings - Fork 24
/
rtl.html
32 lines (27 loc) · 1.02 KB
/
rtl.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
<!DOCTYPE html>
<head lang="ar">
<meta charset="UTF-8">
<title></title>
<script src="../../../../webcomponentsjs/webcomponents-loader.js"></script>
<script>
const theme = window.location.search.replace(/.*theme=(\w+).*/, '$1') || 'lumo';
document.write(`<link rel="import" href="../../../theme/${theme}/vaadin-text-area.html">`);
window.addEventListener('WebComponentsReady', function() {
setTimeout(function() {
window.ShadyDOM && window.ShadyDOM.flush(); // Force DOM composition
window.webComponentsAreReady = true; // Checked in gemini before capture callback
});
});
</script>
<link href="../common.html" rel="import">
</head>
<body>
<fieldset id="rtl" dir="rtl">
<vaadin-text-area label="كلمه السر" placeholder="أنشئ كلمة مرور"></vaadin-text-area>
<p>
<vaadin-text-area label="البادئة واللاحقة">
<span slot="prefix">اختصار</span>
<span slot="suffix">لاحقة</span>
</vaadin-text-area>
</fieldset>
</body>