brunob15 / ngx-element

Angular Element that allows lazy loading Angular components in non-angular applications
33 stars 5 forks source link

Allow custom attributes prefix #5

Open brunob15 opened 4 years ago

brunob15 commented 4 years ago

By default ngx-element takes all data-attribute and pass them to the Angular component.

Enable to pass a attributesPrefix to the configuration passed to NgxElementModule.forRoot() in order to let the user customize the prefix that ngx-element will look for.