我想在GET请求中发送查询参数.我的班级看起来像这样:
@Injectable()
export class Loader implements TranslateLoader{
constructor(private http: Http){
}
getTranslation(lang: string): Observable<any>
{
return this.http.get(routes.Localization.Get) ;// in that place I need to pass params
}
}
Run Code Online (Sandbox Code Playgroud)
我怎样才能做到这一点?
我怎么禁用ion-input?
<ion-input type="text"></ion-input>
Run Code Online (Sandbox Code Playgroud)
我是Ionic Framework的新手,它与HTML非常相似,但是属性没有属性可以禁用它:
.prop("disabled", true)