Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
removing eventDispatcher of the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
deividmarques committed Jul 21, 2015
1 parent 5a1c5a0 commit 42a5fc8
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions source/documentacao/componentes/collapse.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -90,39 +90,6 @@ type: component



<h2 class="doc-title-3">Dispatchers</h2>
<% code("javascript") do %>locastyle.eventDispatcher.eventSubscribe('trigger', fn)<% end %>
<table class="ls-table">
<thead>
<tr>
<th>Trigger</th>
<th>Descrição</th>
</tr>
</thead>
<tbody>
<tr>
<td>ls-collapse-open</td>
<td>É disaparado esse evento assim que o bind é feito no elemento</td>
</tr>
<tr>
<td>ls-collapse-opened</td>
<td>É disaparado esse evento assim que o collapse termina de abrir</td>
</tr>
<tr>
<td>ls-collapse-close</td>
<td>É disaparado esse evento assim que o bind de fechar é feito</td>
</tr>
<tr>
<td>ls-collapse-closed</td>
<td>É disaparado esse evento assim que o collapse termina de fechar</td>
</tr>
</tbody>
</table>
<% code("javascript") do %>
locastyle.eventDispatcher.eventSubscribe('ls-collapse-open', function() {
console.log('Abrir collapse');
})
<% end %>
<hr>
<div class="ls-box-demo">
<button type="button" class="ls-btn-primary" data-ls-module="collapse" data-target="#010">Abre/Fecha o <i>collapse</i></button>
Expand Down

0 comments on commit 42a5fc8

Please sign in to comment.