There should be shorthand for the snippet methods similar to what there is for model stuff.
it would be nice if there was a shorthand type reference to the snippet stuff.
eg $Snip.getSnippet()
eg $Snip.getSnippet()
Tagged:
1
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
var $Snip = skuid.snippet;
$Snip.register('AddNumbers',function(a,b){return a+b;});
$Snip.get('AddNumbers')(1,2); --> 3