Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <h1>${message}</h1>
- <h2>requiredPlayers is a number</h2>
- <select id="mates" value.bind="requiredPlayers">
- <option value.bind="i+1" repeat.for="i of maxPlayers">${i+1}</option>
- </select>
- <h2>requiredPlayers is convert to a String</h2>
- <select id="mates" value.bind="requiredPlayersToString">
- <option value.bind="i+1" repeat.for="i of maxPlayers">${i+1}</option>
- </select>
- </template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement