Advertisement
RexyBadDog

fxp_2020_10_18_AngularJS_05

Oct 18th, 2020
2,098
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.77 KB | None | 0 0
  1. <div ng-controller="mainCtrl2">
  2.     <div id="image-item" class="col-lg-4 col-md-6 portfolio-item filter-blablabla" ng-repeat="image in images">
  3.       <div class="portfolio-wrap">
  4.         <img ng-src="{{imgPath+image}}" class="img-fluid" alt="">
  5.         <div class="portfolio-links">
  6.           <a href="{{imgPath+image}}" data-gall="portfolioGallery" class="venobox"
  7.            title="App 1"><i class="bx bx-plus"></i></a>
  8.           <a href="portfolio-details.html" title="More Details"><i class="bx bx-link"></i></a>
  9.         </div>
  10.       </div>
  11.     </div>
  12.     <script>
  13.       $(document).ready(function() {
  14.         var imageName = $('#image-item').data('image');});
  15.         console.log("image name is: " + imageName);
  16.     </script>
  17. </div><!-- End Angular Controller -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement