Skip to content

Commit 6da82aa

Browse files
authored
feat(angular, react, vue, core): export openURL utility (#28295)
Issue number: resolves #27911 --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> The `openURL` utility is not available to developers. ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - Export `openURL` utilities from `@ionic/core`, `@ionic/angular`, `@ionic/react` and `@ionic/vue`. ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
1 parent 72b3899 commit 6da82aa

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

core/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export { componentOnReady } from './utils/helpers';
1111
export { isPlatform, Platforms, PlatformConfig, getPlatforms } from './utils/platform';
1212
export { IonicSafeString } from './utils/sanitization';
1313
export { IonicConfig, getMode, setupConfig } from './utils/config';
14+
export { openURL } from './utils/theme';
1415
export {
1516
LIFECYCLE_WILL_ENTER,
1617
LIFECYCLE_DID_ENTER,

packages/angular/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,5 @@ export {
131131
ToggleChangeEventDetail,
132132
ToggleCustomEvent,
133133
TransitionOptions,
134+
openURL,
134135
} from '@ionic/core';

packages/react/src/components/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export {
1010
IonicSlides,
1111
getTimeGivenProgression,
1212
getIonPageElement,
13+
openURL,
1314

1415
// TYPES
1516
Animation,

packages/vue/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export {
4848
menuController,
4949
getTimeGivenProgression,
5050
getIonPageElement,
51+
openURL,
5152

5253
// TYPES
5354
Animation,

0 commit comments

Comments
 (0)