ember-freestyle icon indicating copy to clipboard operation
ember-freestyle copied to clipboard

Add extension point for freestyle-dynamic input to use a custom component

Open lukemelia opened this issue 7 years ago • 0 comments

Perhaps something like:

{{#freestyle-dynamic 'rating-group-some'
    dynamicProperties=(hash score=(hash value=3.5 component='slider' options=(hash min=0 max=5)))
    title='Rating Group - Some stars'
    componentName='rating-group'
    as |dynamic|
  }}
    {{rating-group score=dynamic.score}}
{{/freestyle-dynamic}}

(specifically the component prop passed as part of the dynamicProperties hash)

lukemelia avatar Feb 22 '18 05:02 lukemelia