angular-components

    0熱度

    1回答

    我該如何在AngularDart中的用戶配置文件圖像上實現angular_components的Popup。 https://dart-lang.github.io/angular_components_example/#Popups 這個鏈接的例子幫助我瞭解AngularDart組件及其實現,但我仍然無法在用戶配置文件圖像上實現它。所以任何人都可以幫助我知道該怎麼做 謝謝你提前。 app_hea

    0熱度

    1回答

    我使用的是角1.5組件來構建結構如下: <parent> <child active="model.active"> <child active="model.active"> <child active="model.active"> </parent> 我的組件: (function() { 'use strict' angular.module('mo

    0熱度

    1回答

    我構建了一個具有根模塊的應用程序,然後在此模塊下有3個子模塊。在模塊1中,有一個組件可以在模塊3中重複使用,但是,如果我直接訪問模塊3中的組件URL,組件將永遠不會加載(我認爲發生這種情況是因爲模塊1未加載)。我已經嘗試過的部件從模塊1導出和根模塊引導它,但我得到一個錯誤,指出組件選擇沒有被發現 ---編輯--- 根模塊 @NgModule({ declarations: [

    0熱度

    1回答

    在component.ts那裏有一個列表,其中您聯繫網址是一個styleUrl對組件: okkook @Component({ selector: 'home', templateUrl: './home.component.html', styleUrls: ['./home.component.css'] }) 我怎麼能與我已經做了一個JavaS

    1熱度

    2回答

    使用AngularJS組件什麼是向組件發送信號的最佳方式? 說我有myComponent,我想告訴它更新其數據,我會如何實現這一目標?如果可能,我寧願不使用$emit或$broadcast,而是選擇儘可能類似於Angular2的東西。 目前,我傳入一個控件對象與組件實現的回調,但我不喜歡這種方法。 我的另一個概念是通過單向綁定機制發出信號,但感覺非常黑客。 <my-component update

    0熱度

    1回答

    我有一個父組件,裏面有兩個不同的子組件。 當我單擊第一個子組件中的鏈接時,需要從第一個子組件中調用第二個子組件的函數。 所以這是一個基本的圖來更好地解釋:

    8熱度

    2回答

    我在角度4世界中是相當新的,我試圖爲每行添加「編輯/刪除」按鈕&標題欄是Angular 4中Angular Material設計中md-table組件中的'Action'。我該怎麼做?爲每行定製標題列&按鈕。任何模板可用來做到這一點?下面是我的HTML代碼。 userinfo.html <!-- ID Column --> <ng-container cdkColumnDef="username

    2熱度

    2回答

    我有2個兄弟組件,我在一個組件中做了一個http請求,如果發生特定情況,它應該發出另一個http請求,寫入另一個組件。所以我應該可以在第一個組件中調用該方法。 這是第一個組件:在sendCardComponent定義 import { Component, OnInit, Inject } from '@angular/core'; import { Http } from '@angular/

    0熱度

    2回答

    側邊欄組件未正確響應,當我瀏覽內部 當我運行從我login.component.ts它關係到儀表板/家onSubmit,「家」的視圖工作正常,我的側邊欄組件也加載,但是當我點擊側邊欄項目時,routerLink不起作用,也沒有下拉。 在我login,component.ts我做了一個簡單的身份驗證,其成功的時候會去哪個有 onSubmit(values){ this.http.post(

    1熱度

    4回答

    我有兩個角度組件SignupComponent和SignupSuccessComponent。我想將數據從SignupComponent傳遞到SignupSuccessComponent,目前我已嘗試使用共享服務而沒有運氣。 @Component({ selector: 'app-signup', templateUrl: './signup.component.html',