![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.
binance-fiat-widget
Advanced tools
npm install binance-fiat-widget
<div id="widget"></div>
import Widget from 'binance-fiat-widget'
const options = {
locale: 'en',
width: 200,
theme: 'dark',
ref: ''
}
Widget('#widget', options)
el: css选择器
或dom对象
import Widget from 'binance-fiat-widget'
const app = () => {
const t = useRef<HTMLDivElement>(null)
// or
// const t = document.querySelector('#test')
useEffect(() => {
if (t) {
Widget(t)
}
}, [])
return (<div id="#test" ref={r}></div>)
}
<script src="https://bin.bnbstatic.com/static/js/ocbs/binance-fiat-widget.js"></script>
<div id="widget"></div>
const t = document.querySelector('#test')
Widget(t)
options.locale: string
语言,可空,default: 'en'
opts: 'en'|'cn'|'tw'|'kr'|'ru'|'vn'|'it'|'es'|'de'|'fr'
options.width: number
宽度,可空,default: 200
range: 200
- 500
options.theme: string
主题, 可空,default: 'light'
opts: 'light' | 'dark'
options.ref: string
邀请码,可空
options.api_host: string
getCoinListApi请求地址,可空
FAQs
# This project is now deprecated, we're now focussing on @binance/fiat-widget
The npm package binance-fiat-widget receives a total of 4 weekly downloads. As such, binance-fiat-widget popularity was classified as not popular.
We found that binance-fiat-widget 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
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.