|
|
@ -75,6 +75,14 @@ type : 'UI Collection' |
|
|
|
</div> |
|
|
|
<p>This is a special notification which you can dismiss if you're bored with it.</p> |
|
|
|
</div> |
|
|
|
<div class="warning ui message"> |
|
|
|
<p>Dismissable blocks do not automatically close when using the close icon, this behavior must be defined using javascript, for example:</p> |
|
|
|
<div class="code"> |
|
|
|
$('.message .close').on('click', function() { |
|
|
|
$(this).closest('.message').fadeOut(); |
|
|
|
}); |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|