Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
basic-collapsible-panel
Advanced tools
Readme
ElementBase
A panel which can be expanded/collapsed with an animated transition.
This component combines the OpenClose mixin and a simple CSS height animation.
This component handles only the duties of collapsing and expanding. It does not provide a user interface for the user to trigger the change in state; you must provide that user interface yourself.
Kind: global class
Extends: ElementBase
Mixes: OpenClose
ElementBase
Close the component.
This is equivalent to setting the closed
property to true.
Kind: instance method of CollapsiblePanel
. Defined by OpenClose
mixin.
boolean
True if the component is curently closed.
Kind: instance property of CollapsiblePanel
. Defined by OpenClose
mixin.
Default: false
Open the component.
This is equivalent to setting the closed
property to false.
Kind: instance method of CollapsiblePanel
. Defined by OpenClose
mixin.
Perform custom rendering of the close/open transition.
You can override this method to perform custom effects. If you do so,
be sure to invoke super()
in your implementation to get the baseline
behavior.
Kind: instance method of CollapsiblePanel
. Defined by OpenClose
mixin.
Param | Type | Description |
---|---|---|
closing | boolean | True if the component is being closed, false if it's being opened. |
Toggle the component's open/closed state.
Kind: instance method of CollapsiblePanel
. Defined by OpenClose
mixin.
FAQs
A panel which can be collapsed/expanded with an animated transition.
The npm package basic-collapsible-panel receives a total of 4 weekly downloads. As such, basic-collapsible-panel popularity was classified as not popular.
We found that basic-collapsible-panel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.