JAVASCRIPT   159

view.js

Guest on 9th September 2021 04:39:53 PM

  1. module.exports = Marionette.ItemView.extend( {
  2.         template: '#tmpl-elementor-panel-revisions-revision-item',
  3.  
  4.         className: 'elementor-revision-item',
  5.  
  6.         ui: {
  7.                 detailsArea: '.elementor-revision-item__details',
  8.                 deleteButton: '.elementor-revision-item__tools-delete',
  9.         },
  10.  
  11.         triggers: {
  12.                 'click @ui.detailsArea': 'detailsArea:click',
  13.                 'click @ui.deleteButton': 'delete:click',
  14.         },
  15. } );

Raw Paste


Login or Register to edit or fork this paste. It's free.