![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@vaadin-component-factory/vcf-context-item
Advanced tools
Web Component for customizable item with dependant context menu
Install vcf-context-item
:
npm i @vaadin-component-factory/vcf-context-item --save
Once installed, import the module in your application:
import '@vaadin-component-factory/vcf-context-item';
Add <vcf-context-item>
element to the page:
<vcf-context-item>Foobar</vcf-context-item>
menuItems
: An array of objects used to define the content of the context menu. Each object contains the following properties:
icon
: The icon name for the menu item (e.g. "vaadin:edit"
). Lumo, Vaadin or Iron icon sets may be used. Note: icon set must be imported separately.text
: The text for the menu item.callback
: The callback function that is executed when this menu item is selected. The only parameter for this function is a reference to the vcf-context-item
.context-menu-click
: Triggered when user clicks the context menu. The events detail
property contains 2 custom properties:
targetItem
: Reference to the vcf-context-item
.sourceEvent
: Reference to the original click event.Fork the vcf-context-item
repository and clone it locally.
Make sure you have npm installed.
When in the vcf-context-item
directory, run npm install
to install dependencies.
Run npm start
to open the demo.
To contribute to the component, please read the guideline first.
This component is available in the Vaadin Prime subscription. It is still open source, but you need to have a valid CVAL license in order to use it. Read more at: https://vaadin.com/pricing
Apache License 2.0
FAQs
Web Component for customizable item with dependant context menu
The npm package @vaadin-component-factory/vcf-context-item receives a total of 2 weekly downloads. As such, @vaadin-component-factory/vcf-context-item popularity was classified as not popular.
We found that @vaadin-component-factory/vcf-context-item demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.