Browse Source

Adds links to behavior docs in module docs

beta
jlukic 11 years ago
parent
commit
71fa0e8ccd
  1. 6
      server/documents/module.html.eco
  2. 2
      server/documents/modules/dimmer.html.eco
  3. 2
      server/documents/modules/dropdown.html.eco
  4. 2
      server/documents/modules/form.html.eco
  5. 7
      server/documents/modules/modal.html.eco
  6. 6
      server/documents/modules/popup.html.eco
  7. 2
      server/documents/modules/rating.html.eco
  8. 2
      server/documents/modules/shape.html.eco
  9. 2
      server/documents/modules/sidebar.html.eco
  10. 2
      server/documents/modules/transition.html.eco
  11. 2
      server/draft/tab.html.eco

6
server/documents/module.html.eco

@ -173,9 +173,11 @@ type : 'Semantic'
<p>Internal methods can be overwritten at run-time for individual instances of a module</p>
<div class="evaluated code">
// initialize both popups
// initialize both popups inline
$('.demo.icon')
.popup()
.popup({
inline: true
})
;
//output the first popup's logs to the page
$('.demo.icon').first()

2
server/documents/modules/dimmer.html.eco

@ -224,7 +224,7 @@ type : 'UI Module'
<h2 class="ui dividing header">Behavior</h2>
<p>All the following behaviors can be called using the syntax:</p>
<p>All the following <a href="module.html#/behavior">behaviors</a> can be called using the syntax:</p>
<div class="code">
$('.your.element')
.dimmer('behavior name', argumentOne, argumentTwo)

2
server/documents/modules/dropdown.html.eco

@ -243,7 +243,7 @@ type : 'UI Module'
<h2 class="ui dividing header">Behavior</h2>
<p>All the following behaviors can be called using the syntax:</p>
<p>All the following <a href="module.html#/behavior">behaviors</a> can be called using the syntax:</p>
<div class="code">
$('.your.element')
.dropdown('behavior name', argumentOne, argumentTwo)

2
server/documents/modules/form.html.eco

@ -231,7 +231,7 @@ type : 'UI Behavior'
<h2 class="ui dividing header">Behavior</h2>
All the following behaviors can be called using the syntax <code>$('.foo').form('behavior name', argumentOne, argumentTwo)</code>
All the following <a href="module.html#/behavior">behaviors</a> can be called using the syntax <code>$('.foo').form('behavior name', argumentOne, argumentTwo)</code>
<table class="ui definition celled table segment">
<tr>

7
server/documents/modules/modal.html.eco

@ -172,11 +172,12 @@ type : 'UI Module'
<div class="code" data-demo="true">
$('.basic.modal')
.modal('setting', {
onDeny: function(){
closable : false,
onDeny : function(){
window.alert('Wait not yet!');
return false;
},
onApprove: function() {
onApprove : function() {
window.alert('Approved!');
}
})
@ -276,7 +277,7 @@ type : 'UI Module'
<h2 class="ui dividing header">Behavior</h2>
<p>All the following behaviors can be called using the syntax:</p>
<p>All the following <a href="module.html#/behavior">behaviors</a> can be called using the syntax:</p>
<div class="code">
$('.ui.modal')
.modal('behavior name', argumentOne, argumentTwo)

6
server/documents/modules/popup.html.eco

@ -110,7 +110,7 @@ type : 'UI Module'
<h2 class="ui dividing header">Behavior</h2>
<p>All the following behaviors can be called using the syntax:</p>
<p>All the following <a href="module.html#/behavior">behaviors</a> can be called using the syntax:</p>
<div class="code">
$('.your.element')
.popup('behavior name', argumentOne, argumentTwo)
@ -208,8 +208,8 @@ type : 'UI Module'
<h3 class="ui header">Inline or relative to page</h3>
<p>A popup can either be inserted directly after an element, or added as a child element to the page's <code>body</code>.</p>
<div class="ui warning message">
An inline popup will remain in your page's html after being hidden, while a non-inline popup will remove itself after being hidden.
<div class="ui positive message">
Using inline will allow your popups to go places other popups can't go, like inside <code>fixed</code> or <code>absolutely</code> positioned elements
</div>
<div class="ui info message">
If you want to style each popup individually it makes sense to keep popup <code>inline: true</code>. If you are worried that your pop up might mistakingly inherit styles that it shouldn't, you should set <code>inline: false</code>.

2
server/documents/modules/rating.html.eco

@ -208,7 +208,7 @@ type : 'UI Module'
<h2 class="ui dividing header">Behavior</h2>
<p>All the following behaviors can be called using the syntax:</p>
<p>All the following <a href="module.html#/behavior">behaviors</a> can be called using the syntax:</p>
<div class="code">
$('.ui.rating')
.modal('behavior name', argumentOne, argumentTwo)

2
server/documents/modules/shape.html.eco

@ -332,7 +332,7 @@ type : 'UI Module'
<h2 class="ui dividing header">Behavior</h2>
<p>All the following behaviors can be called using the syntax:</p>
<p>All the following <a href="module.html#/behavior">behaviors</a> can be called using the syntax:</p>
<div class="code">
$('.your.element')
.shape('behavior name', argumentOne, argumentTwo)

2
server/documents/modules/sidebar.html.eco

@ -341,7 +341,7 @@ type : 'UI Module'
<h2 class="ui dividing header">Behavior</h2>
<p>All the following behaviors can be called using the syntax:</p>
<p>All the following <a href="module.html#/behavior">behaviors</a> can be called using the syntax:</p>
<div class="code">
$('.your.element')
.dropdown('behavior name', argumentOne, argumentTwo)

2
server/documents/modules/transition.html.eco

@ -179,7 +179,7 @@ type : 'UI Module'
</div>
<h2 class="ui dividing header">Behavior</h2>
<p>All the following behaviors can be called using the syntax:</p>
<p>All the following <a href="module.html#/behavior">behaviors</a> can be called using the syntax:</p>
<div class="code">
$('.your.element')
.dropdown('behavior name', argumentOne, argumentTwo)

2
server/draft/tab.html.eco

@ -215,7 +215,7 @@ type : 'UI Module'
<h2 class="ui dividing header">Behavior</h2>
All the following behaviors can be called using the syntax <code>$('.foo').tab('behavior name', argumentOne, argumentTwo)</code>
All the following <a href="module.html#/behavior">behaviors</a> can be called using the syntax <code>$('.foo').tab('behavior name', argumentOne, argumentTwo)</code>
<table class="ui definition celled table segment">
<tr>

Loading…
Cancel
Save