1
中的每个项目我试图访问我的代码中的数组值,以便我可以使用它们,但我不知道如何。由于阵列{{display item}}
var footerButtons = ['NO', 'EXTRA', 'YES'];
<template name="footer">
{{#each footerButtons}}
<h1>
<button class="col-xs-2 mainMenu" type="button">{{what should go here?}}</button>
</h1>
{{/each}}
</template>