@feng3d/reactivity
    Preparing search index...

    Interface Ref<T, S>

    引用接口。

    定义了引用的基本结构:

    1. value: 引用的值,可读可写
    2. RefSymbol: 用于标识这是一个引用
    interface Ref<T = any, S = T> {
        "[RefSymbol]": true;
        get value(): T;
        set value(_: S): void;
    }

    Type Parameters

    • T = any
    • S = T

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    Accessors

    Properties

    "[RefSymbol]": true

    Accessors