Skip to content

Commit

Permalink
fix(events): Update docs
Browse files Browse the repository at this point in the history
Update docs to add `before` syntax
  • Loading branch information
jefflembeck committed Apr 12, 2016
1 parent d0702ad commit 64cac15
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pivotal-ui/components/events/events.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Component πŸ’£ has a method `πŸ”₯`. In the code, you might see:
<code class="pam">
πŸ’£.prototype.πŸ”₯ = function(blaze){
$(this).trigger("πŸ’£:πŸ”₯:before");
//do things
// this represent the element the component is referring to
Expand All @@ -27,8 +28,8 @@ Component πŸ’£ has a method `πŸ”₯`. In the code, you might see:
</code>
In another component 🚰, we have a method 🌊. We know that when the πŸ’£
component has the πŸ”₯ method called, the 🚰 component needs to call the 🌊
method.
component has the πŸ”₯ method called and that method is completed, the 🚰
component needs to call the 🌊 method.
<code class="pam">
$(document).on("πŸ’£:πŸ”₯", function(){
Expand Down

0 comments on commit 64cac15

Please sign in to comment.