![](/img/trans.png)
[英]Angular http client not working with translation on in IOS chrome browser?
I have angular project built in angular 10. I am getting issue in calling api from IOS chrome browser when i turn on google translation from browser ...
[英]Angular http client not working with translation on in IOS chrome browser?
I have angular project built in angular 10. I am getting issue in calling api from IOS chrome browser when i turn on google translation from browser ...
[英]How to adjust width of components in Angular while using Animations?
我正在嘗試使用 Angular Animations 來滑動我的導航欄並且它工作得很好但是我需要在隱藏導航欄時自動調整其他組件的寬度。 就像我希望我的其他組件在隱藏導航欄時占用整個頁面的寬度一樣,但由於某些原因,我的其他組件的寬度僅在我單擊任何組件后才會調整。 任何人都可以幫助我並指導我如何調整寬 ...
[英]Is it possible to do a dynamic message translation in angular ngx-translate
我有來自表單控件的動態驗證消息,該消息來自后端配置。 是否可以使用 angular ngx-translate 進行翻譯? 同樣對於有一個基於服務器動態類別的下拉列表。 可以翻譯嗎? 別的是否可以根據服務器值更新翻譯 en.json,es.json,fr.json 文件,例如)考慮登錄用戶的用戶名、 ...
[英]How to get Angular Router Animations working with 'ng build --prod'?
當我想用``ng build --prod''構建我的角度應用程序時出現錯誤: src / app / route-animations.ts(15,9)中的錯誤:模板編譯“ slideTo”表達式形式時出錯。 src / app / route-animations.ts(20,1 ...
[英]Angular 7 router animation with multiple router outlets
我試圖在路線之間添加一個過渡,按照這篇文章和幾個喜歡它。 我確實可以讓它工作,但我有問題使用CSS位置 - 絕對這似乎需要: 我的應用程序有多個路由出口:標題,主頁和頁腳。 我在app root上使用flexbox使頁眉和頁腳粘到頂部和底部。 您可以在此stackblitz ...
[英]angular 5 “Function expressions are not supported in decorators”
我很難用ng build --prod編譯我的角度項目 問題出在組件IndexComponent中: index.componenent.ts 如您所見,它調用index.animations(在同一文件夾中) index.animations 當我用ng se ...
[英]Angular page transition animation of specific items
我想進行路線過渡,但不是簡單的滑出/滑入動畫。 我正在尋找左邊這樣的動畫( https://cdn.dribbble.com/users/495792/screenshots/3847874/allshots3.gif ) 我知道如何為將重繪整個內容的路線設置動畫。 但是我怎樣才能通過改變路線實現 ...
[英]Angular 5 and transition only in 'new' items
我組件的模板呈現一個列表: 組件對其進行動畫處理 效果很好,“ div”已從不透明度過渡。 如果我做這樣的事情: activeModules的數組將更新,並且模板將再次顯示帶有過渡的列表。 我的問題是,我只需要數組中的“新”項(在本例中為中間的項)即可進行過渡。 可 ...
[英]What is Equivalent of next in $routeChangeStart in $transitions
我正在用angularjs構建基於權限的訪問控制應用程序。 我想要$ transitions中的參數,它等同於$ routeChangeStart中的“ next”參數。 我定義了一個服務,該服務檢查登錄用戶是否有權訪問視圖 如您所見,我想將“下一個”信息傳遞給服務。 $ t ...
[英]Angular Translation using key as a variable Not working
我正在開發Angular Js應用程序並使用Angular-translate模塊 在一種情況下,翻譯可以將其鍵作為變量,因此我在翻譯對象中創建了一個具有所有可能變量的對象。 當我使用像dot translate='status.awaiting'這樣的點符號時它運行良好但是如果我將 ...
[英]How to add translations to $translateProvider from outside the config?
我是angular js的新手。 對於語言翻譯,我在工作中使用angular-translate服務。我需要通過API調用響應在$ translateProvider中分配所有翻譯。我知道可以將翻譯分配給$ translateprovider($ translateprovider.trans ...
[英]Angular CSS ngAnimate translated to developer
ngAnimate與路由ngAnimate使用時,具有不同的“ CSS樣式”,可以將其設置為產生不同的過渡。 這是涵蓋過渡的所有CSS選項的正確模板嗎? myAnimation =代表我的CSS模板。 是否有什么指南或文檔說明什么會影響什么時間? 我玩這些游戲已經 ...
[英]How to animate child elements when ngClass changes on parent
是否可以定義子元素的轉換,並在ngClass更改父元素時將ngAnimate考慮在內? 到目前為止,我還沒能做到這一點。 http://plnkr.co/edit/ulq1MQNDtY9cO2pcjdzF?p=preview 謝謝。 ...
[英]Angular 1.2.5 nested animations
使用ng-view,我想要一個簡單的fadeIn / fadeOut用於頁面轉換。 但是,在不同的“視圖”中,我有子元素,我希望在父元素上發生fadeIn / fadeOut的同時進行動畫處理。 問題是,如果父動畫是動畫的,則角度取消是任何嵌套動畫。 為什么是這樣? 還有另一種方法可以實 ...