-
Notifications
You must be signed in to change notification settings - Fork 255
Expand file tree
/
Copy pathtimeposition.cshtml
More file actions
53 lines (40 loc) · 1.01 KB
/
timeposition.cshtml
File metadata and controls
53 lines (40 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Title: TimePosition
JsName: timePosition
jQueryName: alphaTab('timePosition')
Category: Properties - Player
Description: The position within the song in milliseconds
ShowInSideBar: false
Since: 0.9.4
---
<h2>Description</h2>
<p>
Gets or sets the player position in milliseconds.
</p>
<h2>Types</h2>
<table class="table table-striped table-condensed type-table">
<tbody>
<tr>
<td><code>int <span class="code-badge">all</span></code></td>
</tr>
</tbody>
</table>
<h2>Example - C#</h2>
<pre>
<code class="language-csharp line-numbers">
var api = new AlphaTabApi<MyControl>(...);
api.TimePosition = 4000;
</code>
</pre>
<h2>Example - JavaScript</h2>
<pre>
<code class="language-javascript line-numbers">
var api = new alphaTab.platform.javaScript.AlphaTabApi(document.querySelector('#alphaTab'));
api.timePosition = 4000;
</code>
</pre>
<h2>Example - jQuery</h2>
<pre>
<code class="language-javascript line-numbers">
$('#alphaTab').alphaTab('timePosition', 4000)
</code>
</pre>