
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
ngx-let-directive
Advanced tools
This directive helps to store value to a local variable to be bound in the template.
This directive helps to store value to a local variable to be bound in the template.
The directive works with Angular 5 and 6. To use it in Angular 4, you may import the .ts file directly (see Usage). For Angular 2, you may try it in Angular 4's way, but it's not tested.
1.Install ngx-let-directive
.
npm i -S ngx-let-directive
2.Import NgxLetDirectiveModule
to your Angular module.
Angular 4
import { NgxLetDirectiveModule } from 'ngx-let-directive/src';
@NgModule({
imports: [
...
NgxLetDirectiveModule,
...
],
...
Angular 5+
import { NgxLetDirectiveModule } from 'ngx-let-directive';
@NgModule({
imports: [
...
NgxLetDirectiveModule,
...
],
...
3.Add the "*let" attribute to an element or ngContainer.
<div *let="userObservable | async as user">
Hello {{user}}!
</div>
4.Version History
1.0.1 unable-to-rebind bug fixed 1.0.0 initial version
Good luck.
FAQs
This directive helps to store value to a local variable to be bound in the template.
The npm package ngx-let-directive receives a total of 24 weekly downloads. As such, ngx-let-directive popularity was classified as not popular.
We found that ngx-let-directive 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 now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.