Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import ActionComponent from 'phoenix/components/as-action';
export default ActionComponent.extend({
classNameBindings: [':form-submission-action'],
form: null,
perform: function() {
this.get('form').send('submit');
}
});