Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@aofl/drawer
Advanced tools
The element toggles content between an open and closed state. Opening and closing animations are provided as classes to allow for any possible method of toggling content.
The <aofl-drawer>
element toggles content between an open and closed state. Opening and closing animations are provided as classes to allow for any possible method of toggling content.
Attributes | Type | Default | Description |
---|---|---|---|
open | Boolean | 'null' | State of content inside drawer |
trigger | String | 'animate' | Classname used to trigger the opening and closing animations |
opening | String | Classname of the opening animation | |
closing | String | Classname of the closing animation |
Name | Triggered By | value |
---|---|---|
change | animationEnd, transitionEnd | target.open={true,false} |
Name | Fallback Content | Description |
---|---|---|
The content to be displayed when toggling the drawer |
To animate the drawer 4 css selectors need to be added. Here is an example for a drawer with the following attributes:
<aofl-drawer opening="ease-in" closing="ease-out" .open="${context.open}"></aofl-drawer>
.ease-in {
opacity: 0;
transition: opacity 1s ease-in;
}
.ease-in.animate {
opacity: 1;
}
.ease-out {
opacity: 1;
transition: opacity .3s ease-out;
}
.ease-out.animate {
opacity: 0;
}
FAQs
The element toggles content between an open and closed state. Opening and closing animations are provided as classes to allow for any possible method of toggling content.
The npm package @aofl/drawer receives a total of 33 weekly downloads. As such, @aofl/drawer popularity was classified as not popular.
We found that @aofl/drawer 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.