-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.component.html
More file actions
30 lines (26 loc) · 918 Bytes
/
app.component.html
File metadata and controls
30 lines (26 loc) · 918 Bytes
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
<!--The content below is only a placeholder and can be replaced.-->
<div style="text-align:center">
<h1>Polymer x Angular demo!</h1>
<div class="content">
<paper-card heading="My Custom Element: demo-range">
<div class="card-content">
<form [formGroup]="formRange">
<demo-range ngDefaultControl formControlName="range"></demo-range>
</form>
<div class="result">
Angular form value: {{ formRange.value.range | range }}
</div>
</div>
</paper-card>
<paper-card heading="Polymer Element: paper-slider">
<div class="card-content">
<form [formGroup]="formSlider">
<paper-slider min="0" max="5" polymerControl formControlName="slide"></paper-slider>
</form>
<div class="result">
Angular form value: {{ formSlider.value.slide }}
</div>
</div>
</paper-card>
</div>
</div>