Difference between revisions of "Ethics"

From EITBOK
Jump to: navigation, search
(Created page with "<p>This chapter is under construction and will be included in a 2016 update to the EITBOK.</p>")
 
Line 1: Line 1:
 
<p>This chapter is under construction and will be included in a 2016 update to the EITBOK.</p>
 
<p>This chapter is under construction and will be included in a 2016 update to the EITBOK.</p>
 +
 +
 +
// Set the 'head' config to 'true' to add a header that contains a label (when specified) and close button.
 +
var popup = new OO.ui.PopupWidget( {
 +
  $content: $( '<p>This popup has a header that contains a label and a close button. Note that labels are only used in the popup head. If no label is set, only the close button will appear.</p>' ),
 +
  padded: true,
 +
  width: 300,
 +
  head: true,
 +
  label: 'The PopupWidget label'
 +
} );
 +
 +
$( 'body' ).append( popup.$element );
 +
popup.toggle( true );

Revision as of 00:55, 10 May 2016

This chapter is under construction and will be included in a 2016 update to the EITBOK.


// Set the 'head' config to 'true' to add a header that contains a label (when specified) and close button. var popup = new OO.ui.PopupWidget( {

$content: $( '

This popup has a header that contains a label and a close button. Note that labels are only used in the popup head. If no label is set, only the close button will appear.

' ),
 padded: true,
 width: 300,
 head: true,
 label: 'The PopupWidget label'

} );

$( 'body' ).append( popup.$element ); popup.toggle( true );