mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
12 lines
438 B
HTML
12 lines
438 B
HTML
<select name="version"
|
|
id="version-toggle"
|
|
onchange="window.location.href=this.options[this.selectedIndex].value">
|
|
<@ for ver in version.list @>
|
|
<option
|
|
value="<$ ver.href $>/{% if page.path != ''%}{{page.path}}{% else %}api/{% endif %}"
|
|
{% if page.version == "<$ ver.name $>"%}selected{% endif %}>
|
|
<$ ver.name $> <@ if version.latest.name == ver.name @>(latest)<@ endif @>
|
|
</option>
|
|
<@ endfor @>
|
|
</select>
|