@pea11y/a11y-components
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Installation

npm i -S @pea11y/a11y-components

puis dans le module qui consomme les web-components, ajouter le schemas CUSTOM_ELEMENT_SCHEMA

import {CUSTOM_ELEMENTS_SCHEMA, NgModule} from "@angular/core";

@NgModule({
  ...
  schemas: [CUSTOM_ELEMENTS_SCHEMA]
  ...
})
export class AppModule {}

il est ensuite possible d'utiliser les composants stencil directement depuis le HTML.

Javascript natif

Importer directement le fichier dans index.html :

<script
  type="module"
  src="node_modules/@pea11y/a11y-components/dist/pea11y/pea11y.esm.js"
></script>

Readme

Keywords

none

Package Sidebar

Install

npm i @pea11y/a11y-components

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

1.73 MB

Total Files

98

Last publish

Collaborators

  • pea11y