【问题标题】:Aurelia bindable attribute with HTML only custom element具有仅 HTML 自定义元素的 Aurelia 可绑定属性
【发布时间】:2016-10-22 11:16:31
【问题描述】:

是否有描述模板元素的可绑定属性的文档

<template bindable="router">

我在 aurelia.io 中没有找到任何东西。

【问题讨论】:

    标签: aurelia


    【解决方案1】:

    在模板中使用可绑定属性时,这是因为您正在创建仅 HTML 的自定义元素。 From the docs.

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-08-07
      • 2019-08-12
      相关资源
      最近更新 更多