Skip to content

Files

Latest commit

author
lon
May 24, 2017
32421fe · May 24, 2017

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 12, 2016
Jun 12, 2016
Sep 18, 2016
May 24, 2017

Popup Usage

简体中文

  import { POPUP_DIRECTIVES } from 'angular2-semantic-ui/compangular2-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