<commit_before>Mobilio-menu
============

Transforms your menu to an off-canvas mobile menu with 2 lines of javascript, no dependencies or external libraries. <strong>Only 1kb JS and 3kb CSS when gzipped.</strong>

##Example:

	var elem = document.querySelector('#myList');
    mobilioMenu.init(elem, { breakpoint:768 });
    
    
##Options

##### breakpoint(Int)
At what width should we initialize/reset the mobilio menu. Null for always.

<strong> Defaults: null </strong>

##### direction(String)
Should the menu slide in from left or right

<strong> Defaults: 'left' </strong>

##### theme(String)
Light/Dark theme

<strong> Defaults: 'dark' </strong>

##### hideOriginal(Boolean)
Whether you should hide the original menu when initializing

<strong> Defaults: true </strong>

##### allowedTags(Array)
An array containing nodenames of allowed elements. If the original menu contains an element which is not allowed, it will be removed along with all of it's children.

<strong> Defaults: ['DIV', 'UL', 'OL', 'LI', 'A', 'SPAN'] </strong>

##### childMenuClass(String)
Classname of the childmenus. Needed for hierarchical menus with toggle-functionality.

<strong> Defaults: '.child-menu' </strong>


##Caveats

* Only works on browsers with support for CSS3-transforms (Chrome, Safari, Firefox, IE10+)<commit_msg>Readme update<commit_after>Mobilio-menu
============

Transforms your menu to an off-canvas mobile menu with 2 lines of javascript, no dependencies or external libraries. <strong>Only 1kb JS and 3kb CSS when gzipped.</strong>

##Example:

	var elem = document.querySelector('#myList');
    mobilioMenu.init(elem, { breakpoint:768 });
    
    
##Options

##### breakpoint(Int)
At what width should we initialize/reset the mobilio menu. Null for always.

Defaults: null

##### direction(String)
Should the menu slide in from left or right

Defaults: 'left' 

##### theme(String)
Light/Dark theme

Defaults: 'dark'

##### hideOriginal(Boolean)
Whether you should hide the original menu when initializing

Defaults: true 

##### allowedTags(Array)
An array containing nodenames of allowed elements. If the original menu contains an element which is not allowed, it will be removed along with all of it's children.

Defaults: ['DIV', 'UL', 'OL', 'LI', 'A', 'SPAN']

##### childMenuClass(String)
Classname of the childmenus. Needed for hierarchical menus with toggle-functionality.

Defaults: '.child-menu'


##Caveats

* Only works on browsers with support for CSS3-transforms (Chrome, Safari, Firefox, IE10+)
{'fraction_non_alphanumeric': 0.12450436161776368, 'fraction_numerical': 0.007137192704203013, 'mean_word_length': 4.922535211267606, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1102038', 'n_tokens_mistral': 769, 'n_tokens_neox': 710, 'n_words': 292}