smart-accordion
Smart Accordion Custom Element | Web Components | HTML Elements | Javascript UI
[ This description is mirrored from README.md at github.com/HTMLElements/smart-accordion on 2019-05-10 ]
Smart Accordion Element
<smart-accordion>
Live Demo ↗ | Documentation ↗ | Installation ↗
<smart-accordion> is a Custom HTML Element with expandable panels, part of the Smart HTML Elements. Each panel has header and content.
<smart-accordion>
<smart-accordion-item label="Item 1" content="Content 1" expanded></smart-accordion-item>
<smart-accordion-item label="Item 2" content="Content 2"></smart-accordion-item>
<smart-accordion-item label="Item 3" content="Content 3"></smart-accordion-item>
</smart-accordion>
Getting Started
Smart HTML Elements components documentation includes getting started, customization and api documentation topics.
Getting Started Documentation | CSS Documentation | API Documentation
The file structure for Smart HTML Elements
source/
Javascript files.
source/styles/
Component CSS Files.
demos/
Demo files
Running demos in browser
Fork the
Smart-HTML-Elements-Core
repository and clone it locally.Make sure you have npm installed.
When in the
Smart-HTML-Elements-Core
directory, runnpm install
and thenbower install
to install dependencies.Run a localhost or upload the demo on a web server. Then run:
- /demos/smart-accordion/smart-accordion-overview.htm
Following the coding style
We are using ESLint for linting JavaScript code.
Creating a pull request
- Make sure your code is compliant with ESLint
- Submit a pull request with detailed title and description
- Wait for response from one of our team members
License
Apache License 2.0
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Dependencies
- webcomponentsjs#^1.0.0
- smart-core#HTMLElements/smart-core
- Released
- 2019-03-19
- Maturity
- IMPORTED
- License
- Apache License 2.0
Compatibility
- Framework
- Polymer 1.0+ in 1.1.0
- Browser
- Browser Independent