-
Notifications
You must be signed in to change notification settings - Fork 24
/
rtl.html
27 lines (22 loc) · 924 Bytes
/
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
<!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-password-field.html">`);
window.addEventListener('WebComponentsReady', function() {
customElements.whenDefined('vaadin-password-field').then(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-password-field label="كلمه السر" placeholder="أنشئ كلمة مرور"></vaadin-password-field>
</fieldset>
</body>