Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <title>Tagify - Hide placeholder if tags exist</title>
  <meta name="description" content="Tagify">
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <meta name="author" content="Yair Even Or">
  
  <script src="https://cdn.jsdelivr.net/npm/@yaireo/tagify@4.20.0"></script>
  <link href="https://cdn.jsdelivr.net/npm/@yaireo/tagify/dist/tagify.css" rel="stylesheet" type="text/css" />
  
  <style>
    .tagify+input{
      display: block !important;
      position: static !important;
      transform: none !important;
      width: 90%;
      margin-top: 1em;
      padding: .5em;
    }
  </style>
</head>
<body>
  
  <input placeholder="type tags">
  
  <script type='module'>
    import Tagify from 'https://cdn.jsdelivr.net/npm/@yaireo/tagify.esm.js'
    
    var input = document.querySelector('input')
    var tagify = new Tagify(input)
  </script>
</body>
</html>
 
body{  
  font: 13px arial;
}
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
yairEOpro
0viewers