Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Commit

Permalink
docs(macAffix): Added parmeters
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianlee44 committed Nov 23, 2013
1 parent 0393bbc commit b1ce786
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/directives/affix.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ angular.module("Mac").directive "macAffix", [
@description
Update top or bottom offset. This function will make sure the value is
an integer and use default value
@param {String} key Offset key
@param {String|Integer} value Update value
@param {Bool} useDefault
###
setOffset = (key, value, useDefault = false) ->
value = defaults[key] if useDefault and not value?
Expand Down

0 comments on commit b1ce786

Please sign in to comment.