Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom menu items #352

Merged
merged 2 commits into from
Jun 15, 2023
Merged

custom menu items #352

merged 2 commits into from
Jun 15, 2023

Conversation

vijithassar
Copy link
Owner

Allow the caller to add custom links to the menu.

To use this, add an array of items to the top level usermeta property of the specification, each of which is an object containing text and href properties.

specification.usermeta = {
  menu: {
    items: [
      { text: 'Example', href: 'https://www.example.com' }
    ]
  }
}

Allow the caller to append arbitrary links to the menu.
@vijithassar vijithassar merged commit 627225a into main Jun 15, 2023
@vijithassar vijithassar deleted the menu-customization branch June 15, 2023 19:52
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