Skip to main content
Nintex Community Menu Bar
Question

Can skuid.snippet.registerSnippet() handle multiple snippets?

  • July 9, 2024
  • 2 replies
  • 19 views

Forum|alt.badge.img+18

And would the syntax be as follows?

skuid.snippet.registerSnippet({
   ‘snippetName1’ : function (),
   ‘snippetName2’ : function ()
})

This topic has been closed for replies.

2 replies

Forum|alt.badge.img+13

No, but it’s a good idea. You could implement this yourself with a little code:

var snippets = {
   ‘snippetName1’: function() { … },
   ‘snippetName2’: function() { … }
};

skuid.$.each(snippets,function(name,func){ skuid.snippet.registerSnippet(name,func); });


Forum|alt.badge.img+18
  • Author
  • July 9, 2024

nice!