Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

f7LoginServer is not recommended for production. What to use instead? #269

Open
udurraniAtPresage opened this issue Sep 13, 2024 · 0 comments

Comments

@udurraniAtPresage
Copy link

I read on the Framework7 login screen documentation that f7LoginServer is not recommended. Alternatively, in a shiny app, I can use something like:

tabsetPanel(
      id = "pages",
      type = "hidden",
      selected = "auth",
      tabPanelBody(
        value = "authentication",
        "<UI for log in>"
      ),
     tabPanelBody(
            value = "content",
            "<App content>"
      )
)

And then in the server part:

observeEvent("<Authenticated user>", {
    updateTabsetPanel(
      session = session,
      inputId = "pages",
      selected = "content"
    )
})

Is there an equivalent in shinyMobile, i.e., something like tabsetPanel that could be hidden? I did not see the type argument in f7TabLayout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant