Questions tagged [dojo2]
The dojo2 tag has no usage guidance.
dojo2
11
questions
0
votes
1
answer
54
views
How to add static CSS to Dojo 7 application e.g. FontAwesome?
I have a fairly basic Dojo 7 (Dojo 2) app built with the dojo-cli tool. Now I'd like to add FontAwesome icons to it. I have a Pro subscription so I have a zip file with various folders of css and ...
1
vote
1
answer
315
views
Missing write access when installing dojo/cli (trying to avoid sudo)
I'm following the "Get Going Quickly" from dojo.io and I've entered
npm i @dojo/cli @dojo/cli-create-app -g
but it fails with
npm WARN checkPermissions Missing write access to /usr/local/...
1
vote
1
answer
33
views
How to get parameter from URL in DOJO2
I have a URL: http://app/material/id/58
I want to get the id '58' on another widget but I am not able to splice the value.
Any suggestions?
0
votes
1
answer
37
views
How can get widget instance and call functions of widget in dojo2
I create a dojo app with following render function.
...
protected render() {
let zombie = w(Zombie,{}); //zombie has a function walk();
return v('div', [
v('div',{
...
0
votes
1
answer
109
views
Dojo 2 - how to use font icons in Dojo 2 application
I need to use font icons in my application. Can anyone please help me in how to use the font icons in Dojo 2 application.
Thanks in advance
0
votes
2
answers
188
views
Dojo 2 - issue of loading js files
Not able to load js files from local where as CDN path working fine in Dojo 2 application. Once included custom JavaScript files using script tag in index.html. But in browser it shows the error 404 ...
0
votes
2
answers
159
views
Service Call in Dojo2
I trying to get the data from server and trying to render in UI but while making service call I am getting the below error.
Calling service API:
const json = request('http://localhost:8080/part/...
2
votes
2
answers
354
views
Dojo 2 Is there any after render life cycle hook in dojo2?
I working on Dojo 2 project. I know there are not many projects going on Dojo 2 it's difficult to get support for it. Anyway I am looking for dojo 2 widget after render life cycle hook?
In React we ...
1
vote
2
answers
364
views
Dojo 2 How to achieve two-way binding for input?
How to achieve 2 way data binding for input in dojo 2?
handleChange = (e) => {
this.setState({ textValue: e.target.value });}
<Input name='title' defaultValue={this.state.textValue} ...
0
votes
1
answer
384
views
Dojo2 How to force dojo 2 widget to re-render?
I am using dojo2 widget. I want to render the widget(VDOM) on form submit.
public submitFrom(input: any): void {
console.log("want to re-render widget after this.");
}
In submitFrom I want re-...
0
votes
1
answer
93
views
Dojo 2 How can I destroy dojo 2 widget manually?
This question is specific to Dojo 2 not dojo 1