0.0.47 • Published 11 months ago

@episource/signet-angular v0.0.47

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

Signet Angular Library

Signet Angular Components Library is developed with Signet, an all-in-one design system for all front-end JavaScript frameworks.

How to Install Signet Angular Components Library

Install the main design system.

npm install @episource/signet

Install the Angular components library

npm install @episource/signet-angular

Using the angular components

There are currently two methods to use the components. Choose either of the methods listed below.

Method 1 - Using app.module.ts File

Navigate to the app/app.module.ts, then add EpiDesignSystemAngularModule to the imports declarator.

import { EpiDesignSystemAngularModule } from '@episource/signet-angular'

imports: [
    BrowserModule, 
    EpiDesignSystemAngularModule
],

*ɵcmp Error: While testing this angular app, if you run into an error such as the one below, then use the alternative method below.*

main.js:1 ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'ɵcmp')
TypeError: Cannot read properties of undefined (reading 'ɵcmp')

Method 2 - Using the main.js/ts file

Import the component into the main.js file

import { applyPolyfills, defineCustomElements as signetComponents } from '@episource/signet/loader';

applyPolyfills().then( () => {
    signetComponents(window);
});

How to use the imported components

  1. To view the list of available components, navigate to @episource/signet-angular/src/generated/directives/index.ts

  2. Then, you can freely add your component to any part of the angular app.

    <my-component first="Sanmi" middle="Ebenezer" last="Ajanaku"></my-component>
  3. Run your angular app.

0.0.40

1 year ago

0.0.41

1 year ago

0.0.42

12 months ago

0.0.43

12 months ago

0.0.44

11 months ago

0.0.45

11 months ago

0.0.46

11 months ago

0.0.47

11 months ago

0.0.38

1 year ago

0.0.39

1 year ago

0.0.36

1 year ago

0.0.34

1 year ago

0.0.33

1 year ago

0.0.32

1 year ago

0.0.31

1 year ago

0.0.30

1 year ago

0.0.29

1 year ago

0.0.28

1 year ago

0.0.26

1 year ago

0.0.20

1 year ago

0.0.22

1 year ago

0.0.23

1 year ago

0.0.25

1 year ago

0.0.15

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.1871

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.13

2 years ago

0.0.9

2 years ago

0.0.6

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1-alpha.0.16

2 years ago

0.0.1-alpha.0.15

2 years ago

0.0.1-alpha.0.14

2 years ago

0.0.1-alpha.0.13

2 years ago

0.0.1-alpha.0.12

2 years ago

0.0.1-alpha.0.11

2 years ago

0.0.1-alpha.0.10

2 years ago

0.0.1-alpha.0.9

2 years ago

0.0.1-alpha.0.8

2 years ago

0.0.1-alpha.0.7

2 years ago

0.0.1-alpha.0.6

2 years ago

0.0.1-alpha.0.5

2 years ago

0.0.1-alpha.0.4

2 years ago

0.0.1-alpha.0.3

2 years ago

0.0.1-alpha.0.2

2 years ago

0.0.1-alpha.0.1

2 years ago