Coder Social home page Coder Social logo

Comments (2)

zPhoeniqz avatar zPhoeniqz commented on August 11, 2024

It looks like this feature is not available, which explains why there is no documentation about it

from attractions.

zPhoeniqz avatar zPhoeniqz commented on August 11, 2024

This is a solution which looks quite the same as the accordion on the website:

<style>
    .wrapper-position-adjust {
        padding-top: 10px; 
        padding-left: 20px;
    }

    .content-wrapper {
        border-left: 1px solid #DDDD; 
        padding-left: 5px;
    }
</style>

<div class="wrapper-position-adjust">
<div class="content-wrapper">
<slot />
</div>
</div>

Then add this component where you need it, but inside the <AccordionSection> element, after the <div slot="handle">...</div>. Inside the tag you can add the hidden content, e.g. links the accordion will show on click. I'm not sure if this should become an own component as it is pretty easy to write yourself and barely requires any CSS skills.

I will close this issue now.

from attractions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.