Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
ak-dropdown-menu
Advanced tools
This is a Dropdown menu component which creates a menu with groups and items within groups.
See more detailed documentation and code examples in the live demo of the component.
npm install ak-dropdown-menu --save
See examples of usage and detailed documentation in the live demo of the component.
Kind: global class
Properties
This is a basic building block of a dropdown's list.
Controls the appearance of the dropdown. Available types: 'default', 'tall'. Default dropdown has scroll after its height exceeds the pre-defined amount. Tall dropdown has no restrictions.
Kind: static property of DropdownMenu
Default: default
Position of the menu. See the documentation of ak-layer for more details.
Kind: static property of DropdownMenu
Default: bottom left
Types of the menu's built-in trigger. Available types: 'default', 'button'.
Kind: static property of DropdownMenu
Default: default
List of menu items. Should be an array of groups (see the documentation for ak-droplist-group for available props). Every group should contain array of items (see the documentation for ak-droplist-item for available props).
Kind: static property of DropdownMenu
JS Example
[
{
heading: 'Title of a group',
items: [
{ content: 'First item in the group' },
{ content: 'Second item in the group' }
]
}
]
Whether the dropdown should be open by default
Kind: static property of DropdownMenu
Default: []
Handler function to be called when the item is activated.
Kind: static property of DropdownMenu
Handler function to be called when the menu is opened/closed.
Kind: static property of DropdownMenu
Let us know what you think of our components and docs, your feedback is really important for us.
Ask a question in our forum.
Check if someone has already asked the same question before.
Are you in trouble? Let us know!
FAQs
ak-dropdown-menu React component
The npm package ak-dropdown-menu receives a total of 87 weekly downloads. As such, ak-dropdown-menu popularity was classified as not popular.
We found that ak-dropdown-menu demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.