wpe-lightning
Advanced tools
Changelog
v1.11.0
examples/touch
) (#239)precision highp float
if the platform supports it (#232)Changelog
v1.10.0
04 sep 2020
New shaders:Vignette
, Perspective
, Spinner
and Hole
(example)
shader: {type: lng.shaders.RoundedRectangle, radius: 50} // apply round corners to whole rectangle
shader: {type: lng.shaders.RoundedRectangle, radius: [50, 0, 25, 0]} // apply round corners separately
</details>
const keys = {
...
8: 'Back',
13: 'Enter',
219: ['Rewind', 'PreviousPage'],
221: ['FastForward', 'NextPage'],
...
};
Image: {
x: 15, y: 15,
src: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAA...'
}
progress
event is called right before finish
(#196)Dithering
, Outline
and Pixelate
shaders (#199, #203)Changelog
v1.9.0
shader: {
type: lng.shaders.RoundedRectangle,
fillColor: 0xffff0000, // fill color
strokeColor: 0xff00ffff, // stroke color
stroke: 30, // stroke thickness
}
</details>
text: {
text: 'Hello',
fontSize: 24,
lineHeight: 40,
verticalAlign: 'middle'
}
</details>
Changelog
v1.8.1
Changelog
v1.8.0
Changelog
v1.7.0
text: {
text: 'Hello',
letterSpacing: 5
}
</details>
Changelog
v1.6.1
getNonDefaults()
of Element
class (9096717)Changelog
v1.4.0
Changelog
v1.3.1
08 jan 2020