# Timeline ProgressChanged event - what object does it pass?

**URL:** <https://forums.fusetools.com/t/timeline-progresschanged-event-what-object-does-it-pass/5812>\
**Category:** How-to Discussions\
**Created:** [November 6, 2016, 10:52pm UTC](https://forums.fusetools.com/t/timeline-progresschanged-event-what-object-does-it-pass/5812 "2016-11-06T22:52:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ted.ekeroth](https://avatars.discourse-cdn.com/v4/letter/t/a5b964/32.png) [@ted.ekeroth](https://forums.fusetools.com/u/ted.ekeroth)\
**Post date:** [November 6, 2016, 10:52pm UTC](https://forums.fusetools.com/t/timeline-progresschanged-event-what-object-does-it-pass/5812/1 "2016-11-06T22:52:08Z")

</div>

I am trying the ProgressChanged event for Timeline. according to the docs, I get this in the callback:

[https://www.fusetools.com/docs/uno/ux/valuechangedhandler\_1](https://www.fusetools.com/docs/uno/ux/valuechangedhandler_1)

However, that doesnt make sense to me.

I would like to get the Progress (or TargetProgress??) but i cant access it, whatever I try I get ‘undefined’

```auto
function progressChanged(x)
    	{
    		console.log("progressChanged1: " + x);
    		console.log(" progressChanged2: " + x.value);
    		console.log(" progressChanged3: " + x.Target);
    		console.log(" progressChanged4: " + x.TargetProgress);
    	}

```

gives

```auto
LOG: progressChanged1: [object Object]
LOG: progressChanged2: undefined
LOG: progressChanged3: undefined
LOG: progressChanged4: undefined

```

---

<div class="post-metadata">

**Author:** ![ted.ekeroth](https://avatars.discourse-cdn.com/v4/letter/t/a5b964/32.png) [@ted.ekeroth](https://forums.fusetools.com/u/ted.ekeroth)\
**Post date:** [November 7, 2016, 8:06pm UTC](https://forums.fusetools.com/t/timeline-progresschanged-event-what-object-does-it-pass/5812/2 "2016-11-07T20:06:23Z")

</div>

Sorry, need to bump it, as Im stuck on this…

I tried doing this:

```auto
    	function progressChanged(x)
    	{
			var str = JSON.stringify(x, null, 4); // (Optional) beautiful indented output.
			console.log(str); // Logs output to dev tools console.
			
			
    		timelineProgress.value = "1!";
    	}

```

but the only thing printed as json is “{}”, so, completely empty (I do get some "JavaScript call error ", but it doesnt hang the app).

So, question remains - how do I use the ProgressChanged event?

---

<div class="post-metadata">

**Author:** ![edA-qa\_mort-ora-y](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/eda-qa_mort-ora-y/32/124_2.png) [@edA-qa\_mort-ora-y](https://forums.fusetools.com/u/edA-qa_mort-ora-y)\
**Post date:** [November 8, 2016, 7:49am UTC](https://forums.fusetools.com/t/timeline-progresschanged-event-what-object-does-it-pass/5812/3 "2016-11-08T07:49:35Z")

</div>

There’s a defect on some ValueChanged events that don’t send their `value` with the event. I’ll add an issue to fix this.

In the meantime your other thread addresses how to read the `Timeline.PRogress` with a binding. You can use on `onValuechanged` for now as a workaround. [https://www.fusetools.com/community/forums/howto\_discussions/accessing\_ux\_components\_and\_their\_properties\_in\_js](https://www.fusetools.com/community/forums/howto_discussions/accessing_ux_components_and_their_properties_in_js)

---

<div class="post-metadata">

**Author:** ![ted.ekeroth](https://avatars.discourse-cdn.com/v4/letter/t/a5b964/32.png) [@ted.ekeroth](https://forums.fusetools.com/u/ted.ekeroth)\
**Post date:** [November 8, 2016, 10:56am UTC](https://forums.fusetools.com/t/timeline-progresschanged-event-what-object-does-it-pass/5812/4 "2016-11-08T10:56:41Z")

</div>

onvaluechanged? How can I use that? I tried it on the Timeline, but that doesnt work:

```auto
'Timeline' does not have a property called 'onValuechanged'.

```

I tried with different caps, to no avail.

---

<div class="post-metadata">

**Author:** ![edA-qa\_mort-ora-y](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/eda-qa_mort-ora-y/32/124_2.png) [@edA-qa\_mort-ora-y](https://forums.fusetools.com/u/edA-qa_mort-ora-y)\
**Post date:** [November 8, 2016, 11:58am UTC](https://forums.fusetools.com/t/timeline-progresschanged-event-what-object-does-it-pass/5812/5 "2016-11-08T11:58:30Z")

</div>

`<Timeline Progress="{jsProgress}">` then in JS

```auto
exports.jsProgress = Observable()
exports.jsProgress.onValueChanged( module, function(args) { ... }

```
