Sha256: 762731e9725638b74d7f2379a4cac3ff2bf02f47cdfe5eb1f9555f398aa35fb6

Contents?: true

Size: 1.16 KB

Versions: 16

Compression:

Stored size: 1.16 KB

Contents

<!doctype html>
<html>
<head>
  <link href="https://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
  <script src="../bower_components/angular/angular.min.js"></script>
  <script src="../bower_components/zeroclipboard/dist/ZeroClipboard.min.js"></script>
  <script src="../src/ngClip.js"></script>
</head>
<body>

<div ng-app="myapp">
  <div class="container" ng-controller="myctrl">

    <div class="page-header">
      <h1>ngClip <small>example</small></h1>
    </div>

    <form>
      <div class="form-group" ng-repeat="option in copyOptions">
        <label >Copy {{option}}</label>
        <button class="btn btn-default" clip-copy="option">Copy!</button>

        <br/><br/><br/>
      </div>

      <textarea class="form-control" rows="3" placeholder="paste here"></textarea>
    </form>
  </div>
</div>

<script>
  var myapp = angular.module('myapp', ["ngClipboard"]);

  myapp.config(['ngClipProvider', function(ngClipProvider) {
    ngClipProvider.setPath("../bower_components/zeroclipboard/ZeroClipboard.swf");
  }]);

  myapp.controller('myctrl', function ($scope) {
    $scope.copyOptions = ["A", "B", "C"]
  });
</script>

</body>
</html>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
sw2at-ui-0.0.16 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html
sw2at-ui-0.0.15 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html
sw2at-ui-0.0.14 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html
sw2at-ui-0.0.13 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html
sw2at-ui-0.0.12 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html
sw2at-ui-0.0.11 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html
sw2at-ui-0.0.10 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html
sw2at-ui-0.0.9 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html
sw2at-ui-0.0.8 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html
sw2at-ui-0.0.7 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html
sw2at-ui-0.0.6 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html
sw2at-ui-0.0.5 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html
sw2at-ui-0.0.4 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html
sw2at-ui-0.0.3 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html
sw2at-ui-0.0.2 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html
sw2at-ui-0.0.1 app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html