Active
Project:
NineSixty (960 Grid System)
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 May 2009 at 20:47 UTC
Updated:
8 May 2009 at 21:25 UTC
Can ns() provide push/pull using some kind of passed variable? This should be documented one way or the other. Current documentation isn't entirely clear.
Comments
Comment #1
todd nienkerk commentedFixing typo in title.
Comment #2
dvessel commentedPassed variable as which argument?
Taking this example from the readme file:
The second and the optional fourth is expected to be a variable to do its subtractive checking. The others can be from a variable also as long as you feed it the expected type of values.
The first parameter must be a string delimited with a hyphen ending in a numeric. "foo-23" would be processed just as well as "pull-10" or "grid-8". The function is very generic so the prefix string can be pretty much anything. [prefix]-[num]