Page2 | R Documentation |
initiate a page constructor
Page2(pageTitle = "首頁")
pageTitle |
one of "首頁","找人", "找事/物","經濟數據" |
a shiny tag
## Not run: # construct homepage homepage = Page2("首頁") homepage$create() homepage$footer$button[[1]]$on() homepage$add_content("首頁內容") homepage$tag() |> econWeb::browseTag2() homepage$footer$button[[1]]$return() homepage$tage() |> econWeb::browseTag2() pplPage = Page2("找人") pplPage$create() pplPage$footer$button[[2]]$on() pplPage$add_content("找人內容") pplPage$tag() |> econWeb::browseTag2() thingPage = Page2("找事/物") thingPage$create() thingPage$footer$button[[3]]$on() thingPage$add_content("找事/物內容") thingPage$tag() |> econWeb::browseTag2() statPage = Page2("經濟數據") statPage$create() statPage$footer$button[[4]]$on() statPage$add_content("數據內容") statPage$tag() |> econWeb::browseTag2() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.