Dallas Hoffman

Results 48 comments of Dallas Hoffman

If `getHostElement` is not meant to be used by applications, what is the intended way to get the host element from a component instance? My use case is I am...

> If you inject `ElementRef` in your directive you'll get access to the host element. I said a component other than the one the directive is used on. The directive...

Sure, I have a button component, and a popover directive... ```html Open ``` ```ts @Component({ selector: 'button[appButton]', }) export class ButtonComponent ``` ```ts @Directive({ selector: '[appPopover]', }) export class PopoverDirective...

> So inject ElementRef inside ButtonComponent, and read it from the directive. Good point. That works. Thank you!

Not currently, but that's a good idea and definitely something that could be added.

This is now implemented in the `0.17` branch.

The idea is that the SQLocal interface should work the same no matter which storage strategy you use. That way, you can easily swap or fall back to a different...

Can you elaborate more on what you're suggesting?

Ah, I see now. Yeah, that would be good to have. Thanks for your PR. I'll look it over.

I'd love to work on this. I just wanted to make sure that the concept sounds acceptable and does not conflict with any of the existing plans for Nitro. @pi0