![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@myuw-web-components/myuw-search
Advanced tools
A material search field made for use with MyUW web components
<myuw-search>
Add the following import to your page's <head>
:
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-search@^1?module"></script>
<script nomodule scr="https://unpkg.com/@myuw-web-components/myuw-search@^1"></script>
Use the component's HTML tag wherever you want:
<myuw-search
input-label="Search MyUW"
button-label="Submit search"
icon="search">
</myuw-search>
Create a callback function wherever you want in your code:
/*
Target the search component
- This example assumes you have given the component an ID value (e.g. <myuw-search id="search">)-
- The "value" parameter is the String value from the search input field
*/
document.getElementById('search').callback = (value) => {
/*
Perform search logic here. For example:
- Pass the search value as a parameter to your app's search page
*/
}
To run the demo app locally and test the component, run the following commands:
$ npm install
$ npm start
FAQs
A material search field made for use with MyUW web components
The npm package @myuw-web-components/myuw-search receives a total of 265 weekly downloads. As such, @myuw-web-components/myuw-search popularity was classified as not popular.
We found that @myuw-web-components/myuw-search demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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
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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.