Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

convert web to application

<script>
  window.addEventListener("beforeinstallprompt", function(event) { 
  let a = event.prompt()
  a.userChoice.then(aa=>{
  if(aa.outcome == "accepted") {
  alert("")
  }  
  })
  })
  </script>
 
PREVIOUS NEXT
Tagged: #convert #web #application
ADD COMMENT
Topic
Name
5+7 =