linkage-select.go 957 B

123456789101112131415161718192021222324
  1. package basics
  2. import (
  3. "github.com/qor5/docs/docsrc/examples/e21_presents"
  4. "github.com/qor5/docs/docsrc/examples/e24_vuetify_components_linkage_select"
  5. "github.com/qor5/docs/docsrc/generated"
  6. "github.com/qor5/docs/docsrc/utils"
  7. . "github.com/theplant/docgo"
  8. "github.com/theplant/docgo/ch"
  9. )
  10. var LinkageSelect = Doc(
  11. Markdown(`
  12. LinkageSelect is a component for multi-level linkage select.
  13. `),
  14. ch.Code(generated.VuetifyComponentsLinkageSelect).Language("go"),
  15. utils.Demo("Vuetify LinkageSelect", e24_vuetify_components_linkage_select.VuetifyComponentsLinkageSelectPath, "e24_vuetify_components_linkage_select/page.go"),
  16. Markdown(`
  17. ### Filter intergation
  18. `),
  19. ch.Code(generated.LinkageSelectFilterItem).Language("go"),
  20. utils.Demo("LinkageSelect Filter Item", e21_presents.PresetsLinkageSelectFilterItemPath+"/addresses", "e21_presents/linkage_select_filter_item.go"),
  21. ).Title("Linkage Select").
  22. Slug("vuetify-components/linkage-select")