File Manager

Current Path : /webspace/www.beetasty.be/html/wp-content/plugins/bpost-shipping-platform/assets/js/
Upload File :
Current File : /webspace/www.beetasty.be/html/wp-content/plugins/bpost-shipping-platform/assets/js/bpost-pickup.js

(function($) {
    'use strict';

    // Initialize the Bpost pickup functionality
    const Bpost = {
        init: function() {
            this.setupEventListeners();
            this.initializeMap();
        },

        setupEventListeners: function() {
            // Add your event listeners here
            $('.Bpost-pickup__overlay').on('click', this.hideMap);
            $('.Bpost-pickup__close').on('click', this.hideMap);
            $('.Bpost-pickup__validate').on('click', this.selectFromList);
        },

        initializeMap: function() {
            // Initialize Google Maps
            if (typeof google !== 'undefined' && google.maps) {
                // Your map initialization code here
            }
        },

        hideMap: function() {
            $('.Bpost-pickup').hide();
        },

        selectFromList: function() {
            // Your selection logic here
        },

        // Add other methods as needed
    };

    // Initialize when document is ready
    $(document).ready(function() {
        Bpost.init();
    });

})(jQuery); 

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com