UNPKG
pondjs
Version:
alpha (1.0.0-alpha.10)
canary (0.9.0-alpha.4a20aeed)
latest (0.9.0)
1.0.1-0
1.0.0-alpha.10
1.0.0-alpha.9
1.0.0-alpha.8
1.0.0-alpha.7
1.0.0-alpha.6
1.0.0-alpha.5
1.0.0-alpha.4
1.0.0-alpha.3
1.0.0-alpha.2
1.0.0-alpha.1
1.0.0-alpha.0
0.9.0
0.9.0-alpha.fff751e8
0.9.0-alpha.eeaa3bef
0.9.0-alpha.e6744236
0.9.0-alpha.c1914000
0.9.0-alpha.abc63768
0.9.0-alpha.88a42ab7
0.9.0-alpha.7a24dd49
0.9.0-alpha.76c6abae
0.9.0-alpha.50c9fc30
0.9.0-alpha.4a20aeed
0.8.10
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.2
0.7.1
0.7.0
0.6.1
0.6.0
0.5.2
0.5.1
0.5.0
0.4.2
0.4.1
0.4.0
0.3.0
A timeseries library build on top of immutable.js
software.es.net/pond
pondjs
/
packages
/
pond
/
node_modules
/
cssstyle
/
lib
/
properties
/
opacity.js
15 lines
(12 loc)
•
290 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'use strict'
;
var
parseNumber =
require
(
'../parsers'
).
parseNumber
;
module
.
exports
.
definition
= {
set
:
function
(
v
) {
this
.
_setProperty
(
'opacity'
,
parseNumber
(v)); },
get
:
function
(
) {
return
this
.
getPropertyValue
(
'opacity'
); },
enumerable
:
true
,
configurable
:
true
, };