Skip to content

Conversation

@sean-perkins
Copy link
Contributor

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
    • Some docs updates need to be made in the ionic-docs repo, in a separate PR. See the contributing guide for details.
  • Build (npm run build) was run locally and any changes were pushed
  • Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

ion-loading cannot be used inline.

Issue URL: Internal

What is the new behavior?

  • ion-loading supports isOpen property to present and dismiss the loading indicator
  • Framework delegate will skip cloning element to a parent when there are no CSS classes to append to the parent

Does this introduce a breaking change?

  • Yes
  • No

Other information

@github-actions github-actions bot added the package: core @ionic/core package label Oct 3, 2022
*/
"htmlAttributes"?: LoadingAttributes;
/**
* If `true`, the loading indicator will open. If `false`, the loading indicator will close. Use this if you need finer grained control over presentation, otherwise just use the loadingController or the `trigger` property. Note: `isOpen` will not automatically be set back to `false` when the loading indicator dismisses. You will need to do that in your code.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trigger is not supported as of this pull request, but I opted it for aligning the documentation with ion-modal now vs. risking forgetting to update this later. When FW-2334 lands in feature-7.0, this will be accurate.

@github-actions github-actions bot added package: react @ionic/react package package: vue @ionic/vue package labels Oct 3, 2022
@sean-perkins sean-perkins marked this pull request as ready for review October 5, 2022 14:28
@sean-perkins sean-perkins requested a review from a team as a code owner October 5, 2022 14:28
@sean-perkins sean-perkins merged commit 3a010fc into FW-2334 Oct 18, 2022
@sean-perkins sean-perkins deleted the FW-2334-isOpen branch October 18, 2022 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package package: react @ionic/react package package: vue @ionic/vue package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants