Catalog npm
Back to packageRELEASE DETAILS

0.0.1

npm

3settings

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.

Published12 Feb 2022
Direct dependencies3
Transitive dependenciesNot calculated

README

Current package documentation

Settings

This library was generated with Angular CLI version 12.2.0.

Code scaffolding

Run ng generate component component-name --project settings to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project settings.

Note: Don't forget to add --project settings or else it will be added to the default project in your angular.json file.

Build

Run ng build settings to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build settings, go to the dist folder cd dist/settings and run npm publish.

Running unit tests

Run ng test settings to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

Implementation example

    export interface Option {
    id: string,
    name: string,
    checked: boolean
    }

    options: Option[] = [
        {
            id: "push_notifications",
            name: "Push notifications",
            checked: false
        },
        {
            id: "quick_access",
            name: "Quick access",
            checked: false
        }
    ]

    <emp-settings 
    (toggleCheckChanged)="onToggleChanged($event)" 
    [options]="options">
    </emp-settings>

Properties

PropertyDescriptionTypeDefault
idID to get the item from toggleCheckChanged.stringempty
nameSettings option name.stringDefault Label
checkedBoolean to indicate the toggle status.booleanfalse

Events

EventDescriptionType
toggleCheckChangedMethod to grab the toggle eventCustomEvent<{ id: string, checked: boolean }>

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 3

Native requirements
3 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
tslib
Environment
{
  "local_name": "tslib",
  "alias": false,
  "peer_metadata": null
}
^2.3.0runtime
@angular/common
Environment
{
  "local_name": "@angular/common",
  "alias": false,
  "peer_metadata": null
}
^12.1.1peer
@angular/core
Environment
{
  "local_name": "@angular/core",
  "alias": false,
  "peer_metadata": null
}
^12.1.1peer

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-0tH0Hj00xliEjSj/JeXk4703R9YJsfl2lNnSQZB/s+jIJDEXkuCywHKs3J4W9TFK4tg1nluAMOTgRWLkSx70Kg==",
  "shasum": "018b431952f092fdfdd81f5651bfb2ceabaa5bc7",
  "tarball": "https://registry.npmjs.org/3settings/-/3settings-0.0.1.tgz",
  "fileCount": 18,
  "unpackedSize": 38134,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiB/BjCRA9TVsSAnZWagAA6ZgP/jcgvYQs0hEofti+ZTq7\naPGN6NE/TJQkCLDecSK70mz6LxfOBA7Ta5c6yC0fmb9E2wC6f1XCh/mspX1e\nv4YcU3HZp91alVBws6ZpcAOfUZzRnoT1Se02NZ97GkmNpLeR9MBURodUTUUT\n4p9nTNB4q/Pu05ZJK4Vof1JBTc0/JxF7xRvBYQxqYjTJdU7M2oFqIBtZrlaw\nVcRnScRKwmUYEUAKVzWflDw1FQIj6m1UU/7DuUnMqxsVMn5+JEmjqKSJTyeA\ncJOpGiuXjJA2xP1527rUXxEwiuTIagflvrUvUKs8AoX8PMm42SmbtAq9TvOh\n8UPFyT63E1NkqX0KQPda/fUfjgXcf2DBF3+yXWs1MTbtvZgMmhHvtLWvjgBr\naNiVADyZ+GcAYrRLBWxIVfQTf4V/3uc5xyDZSOxS79AO59I/Ku8/ZK+aqR65\n1C2/qPCOQZoURCpRMA9a35lAEsMUKYsQESEU2nBEvmPCaf0So+sgNB8hGxWE\ntsZp/S8YL3vpBUKfF8o6MS0JAJoCQOuHpf94Z6uvDSRpdbBnYsz1KFI4bWMB\nhH6LWhqoju0dypOS78mSkdCM6C4in+rAohEBXAwensyJF5teogQ1zSqpTPGC\nxgcP9IMdkuXgZxsHghPjOtpbLFGXttlBsQAZA+yuL57j+oWdEBzF0iUVUpZK\njz7f\r\n=R5pr\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQDQ0BKQTxbNqlFMD8gxsGCaMmIBqcX3vnlGBe2TAvI2WwIhAIFupAlU+MO5kPZETvjFdNtwbI1IOv7PEO1QDgwoLJ9d"
    }
  ]
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:52 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:ea8c9d89e26a0a7cdbffb8d567dd7f400815f43740015cf9947a97d46f6aa8ee

Other collected versions

View all collected versions →