You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: ion-loading custom content missing from v3 #18135
Provide a way to specify custom content for the ion-loading component similar to how the Ionic v3 content parameter allowed HTML to be injected into the "loading" component
Describe Preferred Solution
Potentially could be handled the way it was in v3, or perhaps better by specifying a template or inject via a slot such as:
Additional Context
This is being requested by a community member who is trying to achieve the following:
basically, all I want to do is being able to not use the div.loading-wrapper inside of the ion-loading component, and instead, pass some HTML (typically a div that I can customize using sass) when I call loadingController.create() function
Since there is a PR in to fix the docs and it is unclear exactly what the correct mechanism is to provide this functionality, I think a feature request makes more sense than a bug, so I close that one and left this one open.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
brandyscarney commentedon Apr 25, 2019
Thanks Ken! I believe this is a duplicate of #17520
kensodemann commentedon Apr 25, 2019
Since there is a PR in to fix the docs and it is unclear exactly what the correct mechanism is to provide this functionality, I think a feature request makes more sense than a bug, so I close that one and left this one open.
brandyscarney commentedon Apr 25, 2019
Sounds good! The fix should be similar to how alert works with its
messageproperty, which is dependent on the innerHTML fix.[-]feat: ion-loading custom content[/-][+]bug: ion-loading custom content missing from v3[/+]brandyscarney commentedon May 9, 2019
As this is functionality that existed in v3 that has been removed I'm considering this a bug that it's missing.
merge release-4.4.1
ionitron-bot commentedon Jun 8, 2019
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.