Details: The ngIf is attached to a DOM element ( p element in the above example).ngIf is a structural directive, which means that you can add it to any element ...
確定! 回上一頁