Support » Plugin: Progressive WordPress (PWA) » Suggested addition to “On element click” ability

Viewing 1 replies (of 1 total)
  • Plugin Author Nico Martin

    (@nico_martin)

    Hi @wtsadmin,

    Progressive-WP adds a class to the Button as soon as he “is active”. You could then hide the button with CSS:

    #myButton {
        display: none;
    }
    
    #myButton.installable-active {
        display: inline-block; // or block
    }
    

    Kind regards,
    Nico

    • This reply was modified 2 months, 2 weeks ago by Nico Martin.
    • This reply was modified 2 months, 2 weeks ago by Nico Martin.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.