smartmenus
Version:
Website/web app navbars with collapsible navs or dropdowns made easy yet highly configurable.
22 lines (19 loc) • 611 B
JavaScript
/*
* SmartMenus
* http://www.smartmenus.org/
* Copyright (c) since 2001 Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com
* Licensed MIT https://github.com/vadikom/smartmenus/blob/master/LICENSE-MIT
*/
const DATA_ATTRIBUTES = [
{
label: 'data-sm-drop-reverse-x',
description: 'Allows reversing the horizontal alignment of a specific sub.',
appliesTo: ['sm-nav-item', 'sm-sub-item']
},
{
label: 'data-sm-drop-reverse-y',
description: 'Allows reversing the vertical alignment of a specific sub.',
appliesTo: ['sm-nav-item', 'sm-sub-item']
}
]
export default DATA_ATTRIBUTES