Implement the custom options helper (closes #92)
This commit is contained in:
parent
0e8d1615a7
commit
7516e7b42b
3 changed files with 35 additions and 8 deletions
|
|
@ -4,6 +4,7 @@ import { detailsExpanded } from "./detailsExpanded.mjs";
|
|||
import { objectValue } from "./objectValue.mjs";
|
||||
import { toFriendlyDuration } from "./toFriendlyDuration.mjs";
|
||||
import { localizer } from "../utils/localizer.mjs";
|
||||
import { options } from "./options.mjs";
|
||||
|
||||
export default {
|
||||
|
||||
|
|
@ -14,6 +15,7 @@ export default {
|
|||
"dd-objectValue": objectValue,
|
||||
"dd-expanded": detailsExpanded,
|
||||
"dd-i18n": localizer,
|
||||
"dd-options": options,
|
||||
|
||||
// Simple helpers
|
||||
"dd-stringify": v => JSON.stringify(v, null, ` `),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue