Comments (9)
/cc @zendesk/quokka
from demo_apps.
And extending to this question, I am hoping we are not allowed to hotlink any external JS files in handlebar partials ?
Please let me know if that is allowed thanks ?
from demo_apps.
@gs-akhan can you tell us more about what you're trying to do? and a little more context about what your app is?
from demo_apps.
iframe app is the closest they can get, basically.
from demo_apps.
@gs-akhan, accessing the window object from an app is not allowed. However, the framework does provide a wrapper for the postMessage API. Have a look at our documentation for Iframes in Apps and let us know if it solves it for you.
from demo_apps.
@atroche @danielbreves
We want to open window from the open for oauth purpose and then window which completes ouath, I send post message to zendesk app to reload itself.. This is the usecase.
And is hot linking external JS files in handlebar templates allowed, ?
Thanks
from demo_apps.
Any one on this ? thanks .
Otherwise I need to make our app as an "iframe" and then just include it in the handlebars template.
I can also make use of external JS libraries as well. If I am thinking correctly .
from demo_apps.
Hi @gs-akhan, you're going to have to use an iframe. Let us know how it goes!
from demo_apps.
@gs-akhan Hot linking external JS files in app templates is not allowed. But, of course, you can do whatever you like from an iframe. Make sure you include your iframe using the Handlebars framework helper {{ iframe "srcUrl" }}
, as that will enable cross-frame communication with the SDK.
from demo_apps.
Related Issues (16)
- How to use Zendesk Garden React components HOT 1
- Error when creating notely event HOT 3
- Translation formats HOT 7
- Each app in its own folder HOT 1
- Dead link on readme
- Listening for postMessage HOT 3
- Update iFrame Sample App HOT 3
- Example for Ember app integration? HOT 4
- Error on Plugin Jquery - Autocomplete HOT 3
- Find one "input" custom for implemention autocomplete
- www.teachmyapi.com is down HOT 3
- JWT with CORS? HOT 3
- Hiding top-bar application on clicking outside of application HOT 3
- The V2 demo apps do not include source files HOT 1
- looking for channel_integrations demo, i try but it error with error creating requirements
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 demo_apps.