
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Article editor and article visualization for Angular. Just property-bind the returned object of the article editor to the article visualization. This library is ready for usage with the Ivy rendering engine at version 9.0.2
and following. See this library in action here.
Note: This library has been renamed from documentations to ng-write.
Add the package to your angular project using
npm install ng-write
Make sure to have the DocuEditorModule
imported.
@NgModule({
imports: [ DocuEditorModule ]
})
export class ApplicationModule {}
The module provides a complete form with live rendering. It should integrate with your @angular/material configuration. In the template simply use the editor tag to create a complete form for the article.
<docu-editor (save)="doc = $event"></docu-editor>
In the component you can define a function to handle the save
event. For example like:
@Component({...})
export class AppComponent {
doc: Documentation;
}
You addition to that you can also define a documentation
input data binding to the docu-editor
tag to patch the documentation form.
@Output() save($event)
: When the user saves the form, the save event will emit and contain the complete nested form.@Input() documentation: Documentation
: The user can patch the form with a previously created documentation.Make sure to import the DocuModule
.
@NgModule({
imports: [ DocuModule ]
})
export class ApplicationModule {}
Then you can use the following tag to display the documentation
<docu-article [documentation]="doc"></docu-article>
@Input() documentation: Documentation
interface.Contributions are welcome. Please stick to the Angular commit message guidelines as described in this document and describe your problems as detailed as possible.
Hi, I am Felix,
Senior Software Engineer, Angular, RxJS and NgRX contributor. For direct contact please add me on twitter, github or visit my personal website.
FAQs
Angular helpers for easily writing interactive articles
We found that ng-write demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.