Skip to content

Instantly share code, notes, and snippets.

View lizdenhup's full-sized avatar

Liz Denhup lizdenhup

  • San Francisco, CA
View GitHub Profile
@kshitij-srv
kshitij-srv / components.child-component.js
Last active March 3, 2022 21:17
Ember: Access child function from parent component
import Ember from 'ember';
const {
Component, set, get
} = Ember;
export default Component.extend({
imageSource:'',
didInsertElement() {
get(this, 'setChildReference')(this);