Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@anywhere-ui/core
Advanced tools
Changelog
Readme
AnywhereUi is a library of rich WEB Components.
npm install @anywhere-ui/core
JavaScript
Integrating a anywhere-ui component to a project without a JavaScript framework is straight forward. If you're using a simple HTML page, you can add your component via a script tag. For example, if we published a component to npm, we could load the component through a CDN like this:
<html>
<head>
<script src="https://unpkg.com/@anywhere-ui/core@latest/dist/anywhere-ui/anywhere-ui.js"></script>
<link
href="https://unpkg.com/@anywhere-ui/core@latest/dist/anywhere-ui/anywhere-ui.css"
rel="stylesheet"
/>
</head>
<body>
<any-checkbox></any-checkbox>
</body>
</html>
Alternatively, if you wanted to take advantage of ES Modules, you could include the components using an import statement. Note that type="module" only works in modern browsers (not available in IE11 or Edge 12-18).
<html>
<head>
<script type="module">
import { defineCustomElements } from "https://unpkg.com/@anywhere-ui/core@latest/loader";
defineCustomElements();
</script>
<link
href="https://unpkg.com/@anywhere-ui/core@latest/dist/anywhere-ui/anywhere-ui.css"
rel="stylesheet"
/>
</head>
<body>
<any-checkbox></any-checkbox>
</body>
</html>
The @anywhere-ui/core
package can by used in simple HTML, or by vanilla JavaScript without any framework at all. AnywhereUI also has packages that make it easier to integrate AnywhereUI into a framework's traditional ecosystem and patterns. (However, at the lowest-level framework bindings are still just using AnywhereUI Core and Web Components).
👤 Goran Jovanović
If you would like to contribute, you are welcome. Clone repository and open pull request.
Give a ⭐️ if this project helped you!
Copyright © 2022 Adaleks Technology.
This project is MIT licensed.
FAQs
Base components for AnywhereUI
The npm package @anywhere-ui/core receives a total of 32 weekly downloads. As such, @anywhere-ui/core popularity was classified as not popular.
We found that @anywhere-ui/core 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.