Navigation

    Quasar Framework

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. WherelessUpdate
    W
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Groups 0

    WherelessUpdate

    @WherelessUpdate

    0
    Reputation
    29
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    WherelessUpdate Follow

    Latest posts made by WherelessUpdate

    • RE: Is there a way to activate a method only when the q-tab is selected?

      I ended up adding a @select="selected = true" to the q-tab and :selected="selected"to the component containing the q-tab-pane, which watches this prop. If the prop selected equals true, then it fetches the data from server.

      posted in Help
      W
      WherelessUpdate
    • Is there a way to activate a method only when the q-tab is selected?

      I wanted to avoid using q-route-tab (having a new route), however I need to activate a certain method (that would fetch data from my server) only when the tab is selected. Right now, I see that it activates the method whenever the page is loaded. Is there a way to avoid that? Perhaps an “is-selected” as a prop on q-tab-pane?

      Thank you.

      posted in Help
      W
      WherelessUpdate