bqworks / slider-pro

A modular, responsive and touch-enabled jQuery slider plugin that enables you to create elegant and professionally looking sliders.
MIT License
877 stars 390 forks source link

Capture event on Button Click Full Screen #316

Closed Usama-Tahir closed 3 years ago

Usama-Tahir commented 3 years ago

Hi, first of all, congrats on such a good project. I was wondering if there is a way to capture click event on button click (Full Screen button)?

davidghi commented 3 years ago

Hi,

You can try this:

jQuery( '.sp-full-screen-button' ).on( 'click', function() {
    console.log('click');
} );