Skip to content

Instantly share code, notes, and snippets.

$(document).on('widget:ready', function (e, instance) {
instance
.on('init', function (e, instance) {
//console.log(e.type, instance);
})
.on('load', function (e, listData) {
//console.log(e.type, listData);
})
.on('beforeRender', function (e, $appendRoot, listData) {
//console.log(e.type, $appendRoot, listData);
[
{
"_id": "5b4cec2610d1ebdfba6c805d",
"status": "published",
"source": "instagram",
"media": "image",
"queued": false,
"disabled": false,
"disabled_reason": [],
"wordclashes": [],
Verifying my Blockstack ID is secured with the address 1JacGDmhFQFHhFg12iGP4EvnsyintpWKLU https://explorer.blockstack.org/address/1JacGDmhFQFHhFg12iGP4EvnsyintpWKLU
@zachdrago
zachdrago / Custom JS.js
Created August 26, 2017 01:42
Remove auto-scroll from Carousel widget
/* global Callbacks, Strings, $, _, Mustache, CryptoJS */
/* jshint strict: false, maxparams: 5 */
// // Tips: Load the JavaScript libraries you need
// Stackla.loadJS([
// 'https://cdnjs.cloudflare.com/ajax/libs/slabText/2.3/jquery.slabtext.min.js'
// ]).then(function () {
// // After all JS urls are loaded
// });
@zachdrago
zachdrago / CSS.css
Created June 27, 2017 21:48
Stackla vertical Scroll wall Event screen
/**
=========================
global styles
=========================
*/
body {
}
.scrollWall-stage {
Verifying that "zachdrago.id" is my Blockstack ID. https://onename.com/zachdrago
@zachdrago
zachdrago / typekit.js
Last active December 15, 2016 23:30
typekit
tileObject.find('.tile-source .fs').appendTo(tileObject.find('.tile-avatar-link'));
@zachdrago
zachdrago / CustomJS.js
Created September 15, 2016 17:37
Widget Columns JS
Callbacks.prototype.onBeforeRenderIsotope = function(containerWidth, maxTileWidth, margin, numColumns, currentTileWidth, tile) {
var $tile = $(tile);
var columns = 2;
if (containerWidth < 767) {
columns = 3;
if (containerWidth <= 400) {
columns = 1;