code: function (type, value) {
  
  		var button = document.querySelector('.f-controls [data-f-toggle-control=' + type + ']'),
  			_items = items[type];
  
  		for (var i = 0; i < _items.length; i++) {
  			if (value) {
  				_items[i].classList.remove('f-item-hidden');
  			} else {
  				_items[i].classList.add('f-item-hidden');
  			}
  		}
  
  		// toggle styles
  		if (value) {
  			button.classList.add('f-active');
  		} else {
  			button.classList.remove('f-active');
  		}
  
  		// update options
  		options.toggles[type] = value;
  
  		if (fabricator.test.sessionStorage) {
  			sessionStorage.setItem('fabricator', JSON.stringify(options));
  		}
  
  	}
docs: toggle all