angular-mdl

    0熱度

    1回答

    我有一系列的產品: public sort_criteria: any=''; public products: any = [ {title: 'Product_1', desc: 'Lorem Ipsum is simply dummy text of the printing and typesetting industry', img: '../assets/prod_1.jpg',

    0熱度

    2回答

    我有三個產品陣列和一個變量來保存當前的選擇: product_types=['One', 'Two', 'Three'] product_type_one = [ {'description': 'Type one sample one', 'type': 'one'}, {'description': 'Type one sample two', 'type': 'one'}, {'d

    0熱度

    1回答

    我使用徽章如下: <mdl-icon [mdl-badge]="myCount" mdl-badge-overlap>some_icon</mdl-icon> 當mycount的:號碼爲空,則MDL版2角用於隱藏徽章。當前版本(使用Angular 4的4.0.1)顯示了一個其中包含'null'文本的徽章。 但是 - a2MDL頁面上的示例(動態實驗)工作正常 - 從輸入框中刪除數字時,徽章將被

    0熱度

    1回答

    我試圖根據模塊設置的條件禁用mdl-menu-item。 我app.component.ts import { Component } from '@angular/core'; @Component({ selector: 'ca-root', templateUrl: './app.component.html', styleUrls: ['./app.com

    0熱度

    1回答

    我使用angular2 mdl佈局編寫了一個頂部有粘性標題的應用。 最近我重寫了代碼以獲得更靈活的自定義標題。 從那時起,當我構建應用程序(ng版本)並將其作爲解壓縮擴展導入時,我的容器中的內容不再滾動。 儘管如此,這個構建在一個「隨便的」瀏覽器窗口中完美地工作,即當應用程序託管在本地服務器上並以鉻打開時。 可能是什麼問題? Here is the angular-cli project.你可以用

    0熱度

    1回答

    我有一個奇怪的問題,當一個特定的路由直接啓動該組件被添加兩次在DOM,但從主頁面導航時,它工作正常。 問題是與contact路線ContactComponent 您可以檢查生活在這個網站上 轉到http://ootybookings.in/#/main/contact 您可以看到添加的接觸成分的兩倍 現在點擊主頁菜單/鏈接在頂部,然後單擊聯繫人菜單/鏈接 現在重複不見了 所有其他路線都很好。只有聯