NgStyleBase
Serves as the base non-VE container for NgStyle.
class NgStyleBase {
static ngDirectiveDef: any
constructor(_delegate: NgStyleImpl)
protected _delegate: NgStyleImpl
getValue()
}
子类
说明
While this is a base class that NgStyle extends from, the class itself acts as a container for non-VE code to setup a link to the [style]
host binding (via the static ngDirectiveDef
property on the class).
Note that the ngDirectiveDef
property's code is switched depending if VE is present or not (this allows for the binding code to be set only for newer versions of Angular).
静态属性
属性 | 说明 |
---|---|
static ngDirectiveDef: any |
构造函数
属性
属性 | 说明 |
---|---|
protected _delegate: NgStyleImpl | Declared in constructor. |
方法
参数没有参数。 |