mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 19:25:14 -05:00
14 lines
No EOL
341 B
CoffeeScript
14 lines
No EOL
341 B
CoffeeScript
define [
|
|
"base"
|
|
], (App) ->
|
|
App.directive "reviewPanelToggle", () ->
|
|
restrict: "E"
|
|
scope:
|
|
innerModel: '=ngModel'
|
|
template: """
|
|
<div class="rp-toggle">
|
|
<input id="rp-toggle-{{$id}}" type="checkbox" class="rp-toggle-hidden-input" ng-model="innerModel" />
|
|
<label for="rp-toggle-{{$id}}" class="rp-toggle-btn"></label>
|
|
</div>
|
|
"""
|
|
|