Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@boundstate/tier-one-dgeni

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boundstate/tier-one-dgeni

Docs generator for Angular frameworks.

  • 1.0.0-alpha.0
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
3
Weekly downloads
 
Created
Source

tier-one-dgeni

Docs generator for Angular frameworks.

Setup

$ npm install --save-dev @boundstate/tier-one-dgeni

Add .frameworkrc or .frameworkrc.json to your project root:

{
  "srcDir": "src",
  "faviconPath": "src/favicon.ico",
  "scssPath": "src/scss/my-framework.scss"
}

Run docs app, watching for changes:

npx tier-one-dgeni watch

Configuration options

  • baseDir: (optional) path to project root containing package.json. Also used in combination with repository URL to determine source code URLs.
  • srcDir: (optional) path to source code containing index.ts (relative to baseDir)
  • faviconPath: (optional) path to favicon to be used by docs app (relative to baseDir)
  • scssPath: path to SCSS file to be used by docs app (relative to baseDir)

Demos

Add a demo for a component by creating a _demo folder within the component folder. Create a file that exports a module with a name ending in DemoModule (e.g. ButtonDemoModule).

DemoService#setFormGroup(formGroup: FormGroup)

Renders debug information about form controls.

Usage
@import {DemoService} from '@boundstate/tier-one-dgeni';

@Component({templateUrl: 'demo.html'})
class InputTextDemoComponent {
  formGroup = new FormGroup({
    'text1': new FormControl(''),
    'text2': new FormControl('', Validators.required)
  });
  
  constructor(demo: DemoService) {
    demo.setFormGroup(this.formGroup);
  }
}

FAQs

Package last updated on 03 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc