npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@windmillcode/angular-wml-carousel

v20.1.6000

Published

[starlightViewModes.switchTo](/Windmillcode-Angular-CDK-Docs/zen-mode/19.0.0/angular-components/wml-carousel)function h(){const t=window.location.hash;document.querySelectorAll(".starlight-view-modes-switcher-a").forEach(e=>{e.href&&(e.href=e.href.split("

Readme

WML Carousel (3D)

starlightViewModes.switchTofunction h(){const t=window.location.hash;document.querySelectorAll(".starlight-view-modes-switcher-a").forEach(e=>{e.href&&(e.href=e.href.split("#")[0]+t)})}h();window.addEventListener("hashchange",h);The library is for carousels of all different types

The WMLCarouselOneComponent is an Angular component that provides a customizable 3D carousel experience. It allows developers to create interactive and dynamic carousels with customizable slides and controls. The functionality of the component is in the prop class passed to the component so if you have your own 3d carousel you would like to design all you need to worry about is styling.It is designed to be flexible and extendable, enabling developers to tailor the carousel to their specific needs.

Key features include:

Customizable Slides: Each slide can be customized with its own content and styling.Customizable Controls: Controls for navigating the carousel can be customized.Responsive Design: The carousel adjusts its layout based on the window size.Dynamic Animation: Smooth transitions and animations when rotating between slides.

Installation

Section titled “Installation”Terminal window npm install -s --verbose @windmillcode/wml-carousel @windmillcode/wml-components-base

Caveats

Section titled “Caveats”increasing the height of the container seems to mess with it because of the margining you would mostly likely have to resize the custom component you pass in the classes for sliadesafter 8 slides there are issues re arraging the slides to not overlapif you are to put elements directly beneath the carousel you may have margin and resize problms

Usage

Section titled “Usage”

WMLCarouselOneComponent

Section titled “WMLCarouselOneComponent”

Getting Started

Section titled “Getting Started”

Handling Slide Events

Section titled “Handling Slide Events”

Customizing Slides

Section titled “Customizing Slides”

Customizing Controls

Section titled “Customizing Controls”

References

Section titled “References”

WMLCarouselOneProps

Section titled “WMLCarouselOneProps”

Properties

Section titled “Properties”PropertyTypeDescriptionidstringUnique identifier for the carouselslidesArray<WMLCarouselOneSlideProps>Array of slide objectcontrolsArray<WMLCarouselOneControlProps>Array of control objectsslideContainerWMLUIPropertyStyle and class configuration for the slide containercontrollerWMLAngularMotionUIPropertyConfiguration for the carousel controllercurrentSlideNumbernumberIndex of the current slidesetStateSubjSubject<WMLCarouselOneProps>Subject to handle state updatessetState(WMLCarouselOneProps)=>voidUpdates the state of the classslideDistanceFromCenterstringDistance of slides from the centerslideDistanceFromTopstringDistance of slides from the top

Methods

Section titled “Methods”NameSignatureDescriptioninit(): voidInitializes the carousel propertieslistenForSlideContainerResize(): Observable<void>Listens for window resize events to approriately resize the slide containerrotateToSlide(slideNumber: number): voidRotates to the specified slide numberupdateSlides(): voidUpdates the slide configurationsgetAngle(): numberCalculates the angle between slidescalculateSlideHeight(parentWidth: number, parentHeight: number): numberCalculates the slide height based on container sizecalculateSlideWidth(parentWidth: number, parentHeight: number): numberCalculates the slide width based on container sizecalculateSlideDistanceFromCenter(parentWidth: number, parentHeight: number): numberCalculates the distance of slides from the centercalculateSlideDistanceFromTop(parentWidth: number, parentHeight: number): numberCalculates the distance of slides from the topcalculatePerspective(parentWidth: number, parentHeight: number): numberCalculates the perspective for the carousel

WMLCarouselOneSlideProps

Section titled “WMLCarouselOneSlideProps”

Properties

Section titled “Properties”PropertyTypeDescriptionidstringUnique identifier for the slidecustomWMLCustomComponentCustom component for the slide contentviewWMLMotionUIPropertyStyle and motion configuration for the slidesetStateSubjSubject<WMLCarouselOneSlideProps>Subject to handle state updatessetState(WMLCarouselOneSlideProps)=>voidUpdates the state of the classslideViewContainerRefViewContainerRefReference to the slide’s view container

Methods

Section titled “Methods”NameSignatureDescriptioninit(): voidInitializes the slide properties and adds the custom component

WMLCarouselOneControlProps

Section titled “WMLCarouselOneControlProps”

Properties

Section titled “Properties”PropertyTypeDescriptionidstringUnique identifier for the controlcustomWMLCustomComponentCustom component for the control contentviewWMLMotionUIPropertyStyle and motion configuration for the controlsetStateSubjSubject<WMLCarouselOneControlProps>Subject to handle state updatessetState(WMLCarouselOneControlProps)=>voidUpdates the state of the classcontrolViewContainerRefViewContainerRefReference to the control’s view container

Methods

Section titled “Methods”NameSignatureDescriptioninit(): voidInitializes the control properties and adds the custom component

WMLCarouselOneSlideExampleProps

Section titled “WMLCarouselOneSlideExampleProps”

Properties

Section titled “Properties”PropertyTypeDescriptionidstringUnique identifier for the slide examplevalueanyValue to display in the slide examplesetStateSubjSubject<WMLCarouselOneSlideExampleProps>Subject to handle state updatessetState(WMLCarouselOneSlideExampleProps)=>voidUpdates the state of the class

WMLCarouselOneControlExampleProps

Section titled “WMLCarouselOneControlExampleProps”

Properties

Section titled “Properties”PropertyTypeDescriptionidstringUnique identifier for the control examplevalueanyValue to display in the control examplesetStateSubjSubject<WMLCarouselOneControlExampleProps>Subject to handle state updatessetState(WMLCarouselOneControlExampleProps)=>voidUpdates the state of the class

Changelog

Section titled “Changelog”

v18.2.4200 [9/21/24]

Section titled “v18.2.4200 [9/21/24]”first version of library

v18.2.4200 [9/21/24]

Section titled “v18.2.4200 [9/21/24]”updated package to conform with @windmillcode/wml-components-base

v18.2.5001 [9/22/24]

Section titled “v18.2.5001 [9/22/24]”updated package to reflect the version 18.2.5 of @angular/core package

v18.2.6000 [10/1/24]

Section titled “v18.2.6000 [10/1/24]”updated package to reflect the version 18.2.6 of @angular/core package

v18.2.7000 [10/2/24]

Section titled “v18.2.7000 [10/2/24]”updated package to reflect the version 18.2.7 of @angular/core package

v18.2.7001 [10/5/2024 10:45:12 AM EST]

Section titled “v18.2.7001 [10/5/2024 10:45:12 AM EST]”[PATCH] Changed WMLCarouselOneProps in wml-carousel-one.component.ts. You can now only change the slide when controller.motionState is either “closed” or “open”. This helps stop unwanted changes to slides during transitions.

v18.2.7001 [10/5/24]

Section titled “v18.2.7001 [10/5/24]”updated package to conform with @windmillcode/wml-components-base

v18.2.7010 [10/9/24]

Section titled “v18.2.7010 [10/9/24]”updated package to conform with @windmillcode/wml-components-base

v18.2.7020 [10/10/24]

Section titled “v18.2.7020 [10/10/24]”updated package to conform with @windmillcode/wml-components-base

v18.2.8000 [10/10/24]

Section titled “v18.2.8000 [10/10/24]”updated package to reflect the version 18.2.8 of @angular/core package

v18.2.8000 [10/11/24]

Section titled “v18.2.8000 [10/11/24]”updated package to reflect the version 18.2.8 of @angular/core package

v18.2.8001 [10/11/24]

Section titled “v18.2.8001 [10/11/24]”updated package to conform with @windmillcode/wml-components-base

v18.2.9000 [10/23/24]

Section titled “v18.2.9000 [10/23/24]”updated package to conform with @windmillcode/wml-components-base

v18.2.10000 [10/31/24]

Section titled “v18.2.10000 [10/31/24]”updated package to conform with @windmillcode/wml-components-base

v18.2.11000 [11/7/24]

Section titled “v18.2.11000 [11/7/24]”updated package to conform with @windmillcode/wml-components-base

v18.2.12000 [11/15/24]

Section titled “v18.2.12000 [11/15/24]”updated package to conform with @windmillcode/wml-components-base

v18.2.12001 [11/17/24]

Section titled “v18.2.12001 [11/17/24]”updated package to conform with @windmillcode/wml-components-base

v19.0.0 [11/19/24]

Section titled “v19.0.0 [11/19/24]”updated package to conform with @windmillcode/wml-components-base

v19.0.3 [11/20/24]

Section titled “v19.0.3 [11/20/24]”updated package to conform with @windmillcode/wml-components-base

v19.0.4 [11/26/24]

Section titled “v19.0.4 [11/26/24]”updated package to conform with @windmillcode/wml-components-base

v19.0.1000 [11/26/24]

Section titled “v19.0.1000 [11/26/24]”updated package to conform with @windmillcode/wml-components-basePrevious WML ButtonNext WML Chips