
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@one-platform/opc-input-chip
Advanced tools
Web component based on Lit Element for input chip filed
npm install --save @one-platform/opc-input-chip
import '@one-platform/opc-input-chip';
<opc-input-chip id="myInputChip"></opc-input-chip>
chips
const myInputChipRef = document.querySelector('#myInputChip');
myInputChipRef.chips = [
{ id: 1, name: 'Test chip', isRemovable: true }
];
CUSTOM_ELEMENTS_SCHEMA
and import the componentimport { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import '@one-platform/opc-input-chip';
@NgModule({
declarations: [
AppComponent,
],
imports: [
BrowserModule,
],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
<opc-input-chip chips="{{ MockChips }}"></opc-input-chip>
import '@one-platform/opc-input-chip';
<opc-input-chip chips={this.state.MockChips}></opc-input-chip>
{ id: number, name: string, isRemovable: Boolean }
const myInputChipRef = document.querySelector('#myInputChip');
myInputChipRef.chips = [
{ id: 1, name: 'Test chip', isRemovable: true }
];
opc-input-chip:added
event is fired when the a chip is added to the component. e.g. myInputChipRef.addEventListener('opc-input-chip:added', (e) => {
console.log(e)
});
opc-input-chip:removed
event is fired when the a chip is removed from the component. e.g. myInputChipRef.addEventListener('opc-input-chip:removed', (e) => {
console.log(e)
});
CSS Variables | Value (default) |
---|---|
--opc-input-chip--BorderColor: | $opc-color--black-300, #D2D2D2 |
--opc-input-chip--TextColor: | $opc-color--black-900, #151515 |
--opc-input-chip--TextTransform: | lowercase |
--opc-input-chip--Color: | $opc-color--blue-400, #0066CC |
--opc-input-chip--BackgroundColor: | $opc-color--blue-100, #BEE1F4 |
--opc-input-chip--FontWeight: | 400 |
npm run dev opc-input-chip
npm run build opc-input-chip
npm run test
FAQs
A web component based on Lit Element for input chip filed
The npm package @one-platform/opc-input-chip receives a total of 0 weekly downloads. As such, @one-platform/opc-input-chip popularity was classified as not popular.
We found that @one-platform/opc-input-chip 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.