Variable preferencesConst

preferences: {
    forColumn: any;
    forTable: any;
} = ...

Type declaration

  • forColumn:function
    • returns an object for getting and setting preferences data based on the column (scoped to key)

      Only the provided plugin will have access to these preferences (though, if other plugins can guess how the underlying plugin access works, they can access this data, too. No security guaranteed)

      Type Parameters

      Parameters

      • column: Column<Data>
      • klass: Class<P>

      Returns {
          delete: any;
          get: any;
          set: any;
      }

  • forTable:function
    • returns an object for getting and setting preferences data based on the table (scoped to the key: "table")

      Only the provided plugin will have access to these preferences (though, if other plugins can guess how the underlying plugin access works, they can access this data, too. No security guaranteed)

      Type Parameters

      Parameters

      • table: Table<Data>
      • klass: Class<P>

      Returns {
          delete: any;
          get: any;
          set: any;
      }

Generated using TypeDoc