]>
git.proxmox.com Git - sencha-touch.git/blob - src/examples/particles/app/controller/Main.js
1 Ext
.define("Particles.controller.Main", {
3 extend
: 'Ext.app.Controller',
12 'button[action=flame]': {
14 this.getParticles().setConfig({
21 color
: 'rgb(255,50,20)',
27 color
: 'rgb(255,50,20)',
50 src
: 'resources/gold-star.png'
58 'button[action=stars]': {
60 this.getParticles().emitter
.instances
.length
= 0;
61 this.getParticles().setConfig({
68 color
: 'rgb(0,250,20)',
74 color
: 'rgb(250,250,20)',
93 path
: ['M', 0.3819660112501052, 0, 0.8090169943749475, 0.5877852522924731, 0.11803398874989487, 0.3632712640026805, -0.30901699437494734, 0.9510565162951536, -0.30901699437494745, 0.22451398828979277, -1, 1.2246063538223773e-16, -0.3090169943749475, -0.2245139882897927, -0.30901699437494756, -0.9510565162951535, 0.11803398874989479, -0.3632712640026805, 0.8090169943749473, -0.5877852522924734, 'Z']