angular-on-screen-keyboard
Version:
Always present 'On screen keyboard' for angular
13 lines (12 loc) • 444 B
HTML
<div class="keyboard">
<table>
<tr ng-repeat="row in ctrl.rows">
<td ng-repeat="key in row"
ng-click="ctrl.printKeyStroke(key, $event)"
colspan="{{key.colspan || 1}}"
ng-class="{'button': key.type !== 'margin', 'letter': key.type !== 'margin'}"
class="{{key.type}}" ng-bind-html="ctrl.getText(key)">
</td>
</tr>
</table>
</div>