This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/select-box-kit/components/future-date-input-selector/future-date-input-selector-row.js.es6
2017-10-19 12:51:08 -07:00

15 lines
666 B
JavaScript

import SelectBoxKitRowComponent from "select-box-kit/components/select-box-kit/select-box-kit-row";
import DatetimeMixin from "select-box-kit/components/future-date-input-selector/mixin";
import computed from "ember-addons/ember-computed-decorators";
export default SelectBoxKitRowComponent.extend(DatetimeMixin, {
layoutName: "select-box-kit/templates/components/future-date-input-selector/future-date-input-selector-row",
classNames: "future-date-input-selector-row",
@computed("content.value")
datetime(value) { return this._computeDatetimeForValue(value); },
@computed("content.value")
icon(value) { return this._computeIconForValue(value); }
});