Ashley Grant's Blog

Ashley Grant's Blog

Thoughts of a Software Dev


TagCustom Elements
Featured

Aurelia Custom Elements Custom Attributes Dependency Injection

Accessing an Aurelia Custom Element's ViewModel from a Custom Attribute on that Element

Posted on .

Introduction If you're familiar with working with Aurelia custom attributes, you'll know that you can have the Element that the attribute is attached to injected in to your attribute's viewmodel. But did you know that you can actually determine if your custom…