-
Notifications
You must be signed in to change notification settings - Fork 13
/
app.html
55 lines (43 loc) · 1.76 KB
/
app.html
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
54
55
---
layout: verovio
verovio: false
title: Verovio App
active: tools
tools-active: app
version-footer: false
---
<div class="row">
<div class="col-md-3 sidebar-offcanvas" id="sidebar" role="navigation">
<div class="panel panel-default">
{% include other-sidebar.html %}
</div>
</div>
<div class="col-xs-9">
<div class="panel-body">
<h3>Description</h3>
<p>The Verovio App is the easiest way to embed music rendered with Verovio in a web page. It implements and responsive and a document view. It includes navigation buttons for the responsive view and zooming.</p>
</div>
{% include app-code.html %}
<div class="panel-body">
<h3>Code</h3>
<p>
Only a few lines of codes are needed to have the example above running in your webpage:
</p>
{% highlight html %}
{% include app-code.html %}
{% endhighlight %}
<p>
Some additional options can be passed to the constructor:
</p>
{% highlight javascript %}
const options = {
defaultView: 'document', // instead of 'responsive' by default
documentZoom: 4 // 0-7, default is 3
}
{% endhighlight %}
<p>
It is also possible to disable the responsive or the document view with <code>enableResponsive: false</code> or <code>enableDocument: false</code> respectively. Have a try directly in the following <a href="https://jsfiddle.net/lpugin/rmc18zkw/" target="_blank">JSFiddle</a>.
</p>
</div>
</div>
</div>