Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
svelte-tabs-scrollable
Advanced tools
Readme
<script>
// @ts-nocheck
import Tabs from '$lib/Tabs.svelte';
import Tab from '$lib/Tab.svelte';
let isRTL = false;
const onClick = () => {
isRTL = !isRTL;
};
let activeTab = 13;
const onTabClick = (e, index) => {
console.log(e, index);
};
$: {
if (typeof window !== 'undefined') {
const body = window.document.body;
isRTL ? (body.dir = 'rtl') : (body.dir = 'ltr');
}
}
let goToEnd;
let goToStart;
</script>
<Tabs {activeTab} {onTabClick} bind:goToEnd bind:goToStart {isRTL}>
{#each [...Array(33).keys()] as item}
<Tab>
tab {item}
</Tab>
{/each}
</Tabs>
<button on:click={() => goToEnd()}>go to end</button>
<button on:click={() => goToStart()}>go to start</button>
<button on:click={onClick}>{isRTL ? 'rtl' : 'ltr'}</button>
<h3>
I'm working now on the demo and on adding the API to the component. if you want to see demos on
react-tabs-scrollable please visit this <a nopo href="https://react-tabs-scrollable.vercel.app/"
><h2>Website</h2></a
> until i can finish the svelte one, they both have the same features and functionality.
</h3>
# create a new project in the current directory
npm i svelte-tabs-scroll-tabs
FAQs
a simple svelte scrollable tabs with a lot of additional features and with fully supporting of RTL mode
We found that svelte-tabs-scrollable 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
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).