GithubHelp home page GithubHelp logo

gip-recia / change-etab-ui Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 593 KB

UI de changement d'établissement

License: Apache License 2.0

JavaScript 2.59% HTML 2.62% Vue 46.42% CSS 19.92% TypeScript 28.45%
vue3 webcomponents

change-etab-ui's Introduction

change-etab

⚠️ migration du projet vers https://github.com/GIP-RECIA/recia-webcomponents/tree/main/packages/ressources-diffusables

UI de change d'établissement en Vue.js

Installation

  1. Installation via npm :
npm install @gip-recia/change-etab
  1. Importation du composant :

Dans un module JavaScript :

import '@gip-recia/change-etab'

Dans une page HTML :

<script src="./path/to/change-etab.min.js"></script>
  1. Ajout du composant sur une page HTML :
const changeEtab = document.createElement('change-etab')
document.body.appendChild(changeEtab)

Paramètres

Nom Type Obligatoire Default Description
show boolean oui activer/désactiver la modal
change-etab-api string oui URI de la route GET de change etab
user-info-api-url string oui URL de l'API des informations utilisateurs

<change-etab show="" change-etab-api="" user-info-api-url="" />

Variables CSS

Modification de style

Variables CSS peuvent être définis pour personnaliser le webcomponent :

Nom Description
--change-etab-button-background-color Permet de modifier la couleur de fond des boutons
--change-etab-button-text-color Permet de modifier la couleur de texte des boutons

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.