UNPKG
@vidal-community/vidal-web-components
Version:
beta (2.5.1-4)
latest (4.1.0)
4.1.0
4.0.1
4.0.1-beta.0
4.0.0
3.1.2-beta.2
3.1.2-beta.0
3.1.1
3.1.0
3.1.0-beta.0
3.1.0-0
3.0.2
3.0.2-alpha.0
3.0.1-alpha.0
3.0.0-beta.0
2.9.4
2.9.3
2.9.3-alpha.0
2.9.2
2.9.2-beta.0
2.9.1
2.9.1-0
2.9.0
2.8.3-0
2.8.2
2.8.2-0
2.8.1
2.8.0
2.8.0-beta.0
2.6.6
2.6.5
2.6.3
2.6.2
2.5.1-4
2.5.1-3
2.5.1-2
2.3.8
2.3.6
2.3.5
2.3.4
2.3.3
2.3.3-1
2.3.3-0
2.3.2
2.3.1
2.3.0
2.2.1-0
2.2.0
2.1.1-1
2.1.1-0
2.1.0
2.0.1-1
2.0.1-0
2.0.0
1.4.0
1.3.0
1.2.1
1.2.0
1.0.0
0.3.1-5
0.3.1-4
0.3.1-3
Vidal Web Components
@vidal-community/vidal-web-components
/
vidal-substitution
/
model
/
dose.js
10 lines
•
218 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
class
Dose
{
constructor
(value, unit) {
this
.unit = unit;
this
.value = value; } toString() {
return
this
.value +
' '
+
this
.unit.name; } }
//# sourceMappingURL=dose.js.map