Set list properties


Left/right sliding is enabled (turn off)
List item
List item
List item
List item
List item
List item
List item
List item
List item
List item


HTML:
<div id='outerCont'>
    <div id='listCont'>
        <div class='listItem'>
            List item
        </div>
        <div class='listItem'>
            List item
        </div>
        ...
    </div>
</div>

CSS:
#outerCont {
	height: 300px;
	overflow: auto;
	border: 1px solid #777777;
}

#listCont {
	position: relative;
}

.listItem {
	padding: 1.4em;
	background-color: #FFFFFF;
	border-bottom: 1px solid #DDDDDD;
}

JS:
lithiumlist.attachToList(
    '123456789',
    document.getElementById('outerCont'),
    document.getElementById('listCont'),
    'listItem',
    {
    	leftEnabled: true,
    	rightEnabled: true,
    	sortEnabled: false
    }
);

var aTurnOff = document.getElementById('a-turn-off');
aTurnOff.addEventListener('click', function() {
	lithiumlist.setListProperties(
		listContSetListProperties,
		{
	    	leftEnabled: false,
	    	rightEnabled: false,
		}
	);
});

var aTurnOn = document.getElementById('a-turn-on');
aTurnOn.addEventListener('click', function() {
	lithiumlist.setListProperties(
		listContSetListProperties,
		{
	    	leftEnabled: true,
	    	rightEnabled: true,
		}
	);
});