[]
        
(Showing Draft Content)

wjPopup Class

wjPopup Class

KnockoutJS binding for the Popup control.

Use the wjPopup binding to add Popup controls to your KnockoutJS applications. For example:

<p>Here is a Popup control triggered by a button:</p>
<button id="btn2" type="button">
    Click to show Popup
</button>
 <div class="popover" data-bind="wjPopup: {
      control: popup,
      owner: '#btn2',
      showTrigger: 'Click',
      hideTrigger: 'Click'}"
 >
    <h3>
         Salutation
    </h3>
     <div class="popover-content">
             Hello {​{firstName}} {​{lastName}}
     </div>
</div>

Heirarchy

  • WjBinding
    • wjPopup