Integrating into Standalone Angular Component
Our sample projects and report templates can help you learn the basics of working with our products.The PDF Forms component can be dropped into a standalone Angular component that points at an ASP.NET Core endpoint.
Host the form in a standalone component.
How it works. The standalone component hosts the form and calls the backend endpoint, so PDF forms integrate without a shared module.
Host the form in a standalone component.
import { Component } from '@angular/core';
import { StiForm, StimulsoftFormsModule } from 'stimulsoft-forms';
@Component({
selector: 'app-root',
standalone: true,
imports: [StimulsoftFormsModule],
template: `<sti-form [form]="form"></sti-form>`
})
export class AppComponent {
form = new StiForm({ requestUrl: 'api/forms/action' });
}StimulsoftFormsModule— imported directly by the standalone component, no NgModule needed.new StiForm({ requestUrl })— binds the form to the ASP.NET Core action that handles its requests.
How it works. The standalone component hosts the form and calls the backend endpoint, so PDF forms integrate without a shared module.