Skip to content

Latest commit

 

History

History

popup

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Popup Usage

简体中文

  import { POPUP_DIRECTIVES } from 'angularx-semantic-ui/compangularx-semantic-uionents'
  <button type="button" class="ui button" lsu-popup [trigger]="'click'" [content]="'Popup One.'">
    Click to show popup
  </button>
  <button type="button" class="ui teal button" lsu-popup [trigger]="'hover'" [content]="'Popup Two.'">
    Hover to show popup
  </button>
  <div class="ui input">
    <input type="text" placeholder="Search..." lsu-popup [trigger]="'focus'" [content]="'Please input key word...'">
  </div>

Options

  • trigger: Optional. The way to trigger Popup [ hover | click | docus], Default is hover
  • content: Optional. Popup's text