Socket
Book a DemoInstallSign in
Socket

@phase2/outline-accordion

Package Overview
Dependencies
Maintainers
10
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phase2/outline-accordion

The Outline Components for the web accordion component

latest
Source
npmnpm
Version
0.1.7
Version published
Maintainers
10
Created
Source

outline-accordion

Accordion Component

Properties

PropertyAttributeTypeDefaultDescription
allOpenallOpenbooleanfalseSet to 'true' to open all panels at once. Specifically for enhanced editor experience.
cleancleanbooleanfalseSets to 'clean' variant
hasLabelboolean
isMobile() => "mobile" | null"() => (this.mobileController.isMobile ? 'mobile' : null)"
panelsOutlineAccordionPanel[]Reference to in panels slot.
singlePanelsingle-panelbooleanfalseSet to 'true' to create an accordion that can only have one panel open at a time.
slotsSlotController"new SlotController(this, false)"

Methods

MethodType
handleKeyboardNav(event: KeyboardEvent): void

Slots

NameDescription
label: The title text for the accordion component.

Keywords

outline components

FAQs

Package last updated on 23 Aug 2023

Did you know?

Socket

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.

Install

Related posts