Sha256: 0a9669b3b2e10891ea5fd99a0040295993316d420ee4b729340d4e6611fd68bb
Contents?: true
Size: 1.16 KB
Versions: 1
Compression:
Stored size: 1.16 KB
Contents
import { Mixin } from '@ember/-internals/metal'; import { ActionHandler } from '@ember/-internals/runtime'; /** @module ember */ /** @class ControllerMixin @namespace Ember @uses Ember.ActionHandler @private */ export default Mixin.create(ActionHandler, { /* ducktype as a controller */ isController: true, /** The object to which actions from the view should be sent. For example, when a Handlebars template uses the `{{action}}` helper, it will attempt to send the action to the view's controller's `target`. By default, the value of the target property is set to the router, and is injected when a controller is instantiated. This injection is applied as part of the application's initialization process. In most cases the `target` property will automatically be set to the logical consumer of actions for the controller. @property target @default null @public */ target: null, store: null, /** The controller's current model. When retrieving or modifying a controller's model, this property should be used instead of the `content` property. @property model @public */ model: null, });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
discourse-ember-source-3.6.0.0 | dist/es/@ember/controller/lib/controller_mixin.js |