Improve this doc View source

add
service in module ss

Description

Call from your app to safely extend the 'ss' internal API object passed through to your /server code

Usage

new add(name, fn);

Parameters

ParamTypeDetails
namestring
  • Key in the ss API.
fnfunctionnumberbooleanstring
  • value or function