Skip to content
Snippets Groups Projects
Select Git revision
  • 1cb412f579340d80dab0cda800ac6670110dd9f5
  • main default protected
  • renovate/lock-file-maintenance
  • demo protected
  • person-select-custom
  • dbp-translation-component
  • icon-set-mapping
  • port-i18next-parser
  • remove-sentry
  • favorites-and-recent-files
  • revert-6c632dc6
  • lit2
  • advertisement
  • wc-part
  • automagic
  • publish
  • wip-cleanup
  • demo-file-handling
18 results

person-select

VPU Person Select Web Component

GitLab Repository

Usage

<vpu-person-select></vpu-person-select>

Attributes

  • lang (optional, default: de): set to de or en for German or English
    • example <vpu-person-select lang="de"></vpu-person-select>
  • entry-point-url (optional, default is the TU Graz entry point url): entry point url to access the api
    • example <vpu-person-select entry-point-url="http://127.0.0.1:8000"></vpu-person-select>

Local development

# get the source
git clone git@gitlab.tugraz.at:VPU/WebComponents/PersonSelect.git
cd PersonSelect
git submodule update --init

# install dependencies (make sure you have npm version 4+ installed, so symlinks to the git submodules are created automatically)
npm install

# constantly build dist/bundle.js and run a local web-server on port 8002 
npm run watch-local

# run tests
npm test

Jump to http://localhost:8002 and you should get a Single Sign On login page.