
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@telekom/scale-components-angular-neutral
Advanced tools
Angular specific wrapper for @telekom/scale-components
Angular
works well with custom elements, but has some minor limitations.
To work around these problems we provide custom element wrappers for better developer experience.
Please note that you will need to install both, the telekom/scale-components-neutral
as well as the @telekom/scale-components-angular-neutral
packages.
Once you have installed both packages and defined the custom elements, Scale
components behave mostly the way you would expect a Angular
component to behave!
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
import { applyPolyfills, defineCustomElements } from '@telekom/scale-components-neutral/loader';
if (environment.production) {
enableProdMode();
}
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));
applyPolyfills().then(() => {
defineCustomElements(window);
});
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { ComponentLibraryModule } from '@telekom/scale-components-angular-neutral';
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
FormsModule,
BrowserModule,
ComponentLibraryModule
],
providers: [],
bootstrap: [AppComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class AppModule { }
<div>
<scale-button>Click!</scale-button>
</div>
In order to prevent collisions with standard events and compatibility with other libraries and frameworks,
some components of Scale
are using custom event names. You can find documentation for the custom events on the respective component pages in the docs
section.
Events in Angular are prefixed with: scale-{event-name}
Find Telekom Scale on GitHub.
FAQs
Angular specific wrapper for @telekom/scale-components
The npm package @telekom/scale-components-angular-neutral receives a total of 0 weekly downloads. As such, @telekom/scale-components-angular-neutral popularity was classified as not popular.
We found that @telekom/scale-components-angular-neutral demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.