Javascript, DOM and Web Apps

Post » Mon Mar 20, 2017 1:38 pm

Hi,
Since C3 is a web application, and since you guys are providing an SDK, isn't it possible to take control over the whole application via DOM manipulations ? I mean if a developer had access to the document object of the C3 application, then anything can be done.
Or I'm I missing something ?
Banned User
B
17
S
7
G
24
Posts: 388
Reputation: 14,494

Post » Mon Mar 20, 2017 1:48 pm

The SDK is architected such that while you could in theory do any manipulation to the app, using anything outside of the official SDK APIs will likely just break things. In other words while it's technically possible to do anything, it's not useful unless you work with the SDK.
Scirra Founder
B
399
S
236
G
89
Posts: 24,530
Reputation: 195,402

Post » Mon Mar 20, 2017 1:56 pm

Basically we can append a new canvas to the layout and render stuff on it, load external libraries , etc...
The canvas won't be exported with the project, but it can serve as a viewport.
Banned User
B
17
S
7
G
24
Posts: 388
Reputation: 14,494


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest