GithubHelp home page GithubHelp logo

Active tab about at-ui HOT 5 OPEN

at-ui avatar at-ui commented on May 20, 2024
Active tab

from at-ui.

Comments (5)

diego-lipinski-de-castro avatar diego-lipinski-de-castro commented on May 20, 2024 1

Yes, it's in the docs, you can do two-way data binding by setting the v-model attribute in the at-tabs with the value of the name of one of the at-tab-pane's that are inside it

from at-ui.

juanpprieto avatar juanpprieto commented on May 20, 2024 1

Thanks @diego-lipinski-de-castro that worked.

from at-ui.

koppthe avatar koppthe commented on May 20, 2024

sorry, i'm not very clear about your question.

You want to active custom tab via props? such like active Tab2 below?

<at-tabs>
  <at-tab-pane label="Tab1" name="name1">
    <p>Content of Tab Pane 1</p>
  </at-tab-pane>
  <at-tab-pane label="Tab2" name="name2">
    <p>Content of Tab Pane 2</p>
  </at-tab-pane>
  <at-tab-pane label="Tab3" name="name3">
    <p>Content of Tab Pane 3</p>
  </at-tab-pane>
</at-tabs>

from at-ui.

juanpprieto avatar juanpprieto commented on May 20, 2024

Hi there,

Yes, I would like to know how to programatically activate a given tab.

I've seen other frameworks exposing an 'active' prop to do this.

Any tips?

from at-ui.

diego-lipinski-de-castro avatar diego-lipinski-de-castro commented on May 20, 2024

This is not working anymore, what happened?

from at-ui.

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.