Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
@logo-software/tabs
Advanced tools
Readme
Tabs are organized content into separate views where only one view can be visible at a time. Tabs are used to quickly navigate between views within the same context. All tabs have own router.
Click here for demo
All public NPM packages of Logo Software is at https://www.npmjs.com/~logofe. To install Tabs Module:
$ npm set registry https://registry.npmjs.org/
$ npm install @logo-software/tabs -s
Then add TabsModule to @NgModule imports
section
app.module.ts
@NgModule({
imports: [TabsModule],
})
export class AppModule {
}
TabsComponent
contains the TabComponent
list in its content. Just add <logo-tab>
into your <logo-tabs>
. Below
code is the full sample usage of the tabs component
. Add the below code to your code stack and give initializer parameters.
app.component.ts
<logo-tabs
activeTab=0
class="tab-class-names-goes-here"
routing="true"
showPrevNext="false"
(change)="yourChangeTrigger($event)"
(tabEvent)="yourTabEvent($event)"
>
<logo-tab
(init)="tabInit($event)"
[params]="{id: '44-133'}"
[route]="'route/to/some/ref'"
[title]="'Free'"
[isDisabled]="false"
[isHidden]="false"
>
<h1>Content goes here</h1>
<p>Tab one content detail's goes here</p>
</logo-tab>
<logo-tab title="two">tab content two</logo-tab>
</logo-tabs>
Add [left] or [right] property to any element to set position's on the navbar. If 'showPrevNext' option is setted as true, this feature won't work. For example:
app.component.html
<logo-tabs...>
<logo-tab title="one">Tab content one</logo-tab>
<logo-tab title="two">Tab content two</logo-tab>
<div right>right text or some buttons</div>
<div left>left text or some buttons</div>
</logo-tabs>
Tab component determines Tabs title and its content. Tab's title attribute will be the display text of the tab. And its child DOM elements will be the content of the tabs. Add the below code to your code stack and give initializer parameters.
app.component.ts
<logo-tab
(init)="tabInit($event)"
[params]="{id: 'user-id-1'}"
[route]="'logo/table-sample/table-showcase/table-showcase.component'"
[title]="'Two'"
[isDisabled]="false"
[isHidden]="false"
>
<div>contents</div>
</logo-tab>
For API details, please visit http://design.logo.com.tr/#/docs/components/components-overview
FAQs
Tabs organize content into separate views where only one view can be visible at a time.
The npm package @logo-software/tabs receives a total of 10 weekly downloads. As such, @logo-software/tabs popularity was classified as not popular.
We found that @logo-software/tabs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 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
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.