Comments (4)
I would actually not want this to happen on iOS (and actually also not on Android) as it adds additional memory overhead and computing resources for a functionality that nearly no one uses (fetching remote html when setting an url). The evalJS API has been made exactly for that use case, so if developers need to access the current rendered HTML, thats the way to go. Thats also how it's handled natively.
But: If this is an issue that affects many developers and causes a lot of struggle, we can expose it. I just don't see that urge right now, but am open for dicussions.
from titanium-sdk.
at the moment it was only one community request so far. So we'll keep it as an open issue for now. I've added the example to the docs: #13932 so people can use that for now
from titanium-sdk.
iOS does not download the HTML for remote URLs. This was discussed a few times in the past, but always decided to not be done internally, as the HTML can change at any time, so the developer should decide when to fetch it.
from titanium-sdk.
The Android version fetches it on the fly for you too. As shown above it just runs document.documentElement.outerHTML
inside the webview.
So for parity it would be nice if it would do the same on iOS instead of returning NULL and you have to run evalJS
with the same code. It would just be very convenient if the getter runs it for you (if it is null).
from titanium-sdk.
Related Issues (20)
- iOS 17 requires calendar full access permission to read from calendar HOT 2
- iOS: Child view click events are not fired, if eventlistener is not attached at creation time
- ANR on org.appcelerator.titanium.TiProperties.removeProperty (ANR triggered by slow IO operations) HOT 3
- Crash on IOS when running multiple Ti.Database.executeAllAsync HOT 1
- Deferenced value assignment on iOS error
- is https://titaniumsdk.com/ down? HOT 1
- Why is Titanium SDK dependent on Nodejs HOT 5
- Update titanium sdk returns Error HOT 6
- VSCode extension debugging not working with 12.3.0.RC HOT 1
- Android: FAB tintColor HOT 2
- iOS: add accessibilityElements to Ti.UI.View to order VoiceOver labels HOT 1
- Android: Horizontal scrolling elements do not size correctly ( LogicalDensityFactor multiplied!) HOT 1
- Android: NDK update HOT 25
- Crash with LiveView enabled on 12.3.0.RC2 HOT 3
- iOS 17 notification tone customization in app notifications prefereces
- iOS applyProperty visible=true to ImageView not working as expected
- iOS: Various "start up" issues with 12.3.0 HOT 9
- iOS: Incorrect handling of window Vertical layout !
- iOS: Crash when opening a TabGroup inside a NavigationWindow
- openPhotoGallery() restarting app on Android 9 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from titanium-sdk.