One of the strongest features about Knack is that designers and developers can easily use jQuery and CSS to customize each app.
Until now, this was only possible by first publishing your Knack app to your own website and adding the code there. Any code you applied wouldn't be available on the hosted Knack apps at knack.com. So if you weren't interested in publishing your app to your own site you were out of luck.
We've now added the ability to add this code directly into your app, so it can be applied to both hosted and published apps. We've combined it with the API tab under Settings:
Some notes about this custom code:
- Any code added will be called after all Knack code and styles have been loaded.
- You don't need to wrap the JavasScript code in window.KnackInit().
- The code is called for every load regardless of which scene is first viewed.
- You can still add code and CSS to your site if you want to limit customization just to your published apps.