Skip to content

Conversation

@j3nda
Copy link

@j3nda j3nda commented Jul 9, 2023

i want to re-use this for my radio23 project, so i needed to make it more cleaner than it was. and here are changes, which im using inc.

j3nda added 16 commits July 7, 2023 17:04
=
RadialMenu.defaultValues: {
	ui: {
		classes: {
			menuContainer: "menuHolder", // whole radial-menu container, created dynamically!
			menu: "menu",
			menuCreate: "menu inner", // main menu [{menuCreate} inner]
			menuCreateNested: "menu outer", // nested menu [{menuCreate} outer]
			itemSelected: "selected", // item, which is [selected]
			itemIcon: "icons", // item's icon
			itemSector: "sector", // item, which is active
			itemDummy: "dummy", // item, which is not active
			buttonCenter: "center", // button (close, back) ~ centered!
		},
		icons: {
			back: {title: "Back", icon: "#return"},
			close: {title: "Close", icon: "#close"},
		}
	}
}
=
menu.js:
var menuItems = [
...
    {
        id   : 'drive',
        title: 'Drive',
        icon: '#drive',
        selected: true
    },
...
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant