From 213815cf4c9d49fe3a8eb295a8adb1105a85951f Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Fri, 13 Oct 2017 13:19:12 -0400 Subject: [PATCH] docs(select): include popover for interface docs --- packages/core/src/components/select/select.tsx | 7 ++++--- packages/core/src/utils/helpers.ts | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/core/src/components/select/select.tsx b/packages/core/src/components/select/select.tsx index c34515a115..69050cc9ed 100644 --- a/packages/core/src/components/select/select.tsx +++ b/packages/core/src/components/select/select.tsx @@ -61,9 +61,10 @@ export class Select { @Prop() placeholder: string; /** - * @input {any} Any additional options that the `alert` or `action-sheet` interface can take. - * See the [AlertController API docs](../../alert/AlertController/#create) and the - * [ActionSheetController API docs](../../action-sheet/ActionSheetController/#create) for the + * @input {any} Any additional options that the `alert`, `action-sheet` or `popover` interface + * can take. See the [AlertController API docs](../../alert/AlertController/#create), the + * [ActionSheetController API docs](../../action-sheet/ActionSheetController/#create) and the + * [PopoverController API docs](../../popover/PopoverController/#create) for the * create options for each interface. */ @Prop() selectOptions: any = {}; diff --git a/packages/core/src/utils/helpers.ts b/packages/core/src/utils/helpers.ts index 1f0f625c03..16e6784393 100644 --- a/packages/core/src/utils/helpers.ts +++ b/packages/core/src/utils/helpers.ts @@ -22,6 +22,8 @@ export function isFunction(v: any): v is (Function) { return typeof v === 'funct export function isStringOrNumber(v: any): v is (string | number) { return isString(v) || isNumber(v); } +export function isBlank(val: any): val is null { return val === undefined || val === null; } + /** @hidden */ export function isCheckedProperty(a: any, b: any): boolean { if (a === undefined || a === null || a === '') {