LogoLogo
v3.4
v3.4
  • Introduction
  • Getting Started
    • Why
    • Installation
  • Concepts
    • Introduction
    • Store
    • Actions
    • State
    • Select
  • API
    • @Action
    • Actions(Stream)
    • Init Actions
    • Module
    • of-action
    • @Select
    • @Selector
    • @State
    • Store
  • Advanced
    • State Operators
    • Options
    • Lazy Loading
    • Sub States
    • Cancellation
    • Action Handlers
    • Composition
    • Error Handling
    • Life-cycle
    • Meta Reducers
    • Shared State
  • Recipes
    • Authentication
    • Caching
    • Unit Testing
    • Style Guide
  • Plugins
    • Introduction
    • CLI
    • Logger
    • Devtools
    • Storage
    • Forms
    • Web Socket
    • Router
    • HMR
  • NGXS Labs
    • Introduction
    • Emitter
    • Immer adapter
    • Dispatch decorator
  • Community
    • FAQ
    • Resources
    • Contributors
    • Contributing
    • Sponsors
  • Changelog
Powered by GitBook
On this page
  • External module: "decorators/select"
  • Index
  • Functions
  1. API

@Select

Previousof-actionNext@Selector

Last updated 6 years ago

>

External module: "decorators/select"

Index

Functions

Functions

Select

▸ Select(selectorOrFeature?: any, ...paths: string[]): (Anonymous function)

Defined in

Decorator for selecting a slice of state from the store.

Parameters:

Name

Type

Optional selectorOrFeature

any

Rest paths

string[]

Returns: (Anonymous function)

API
"decorators/select"
decorators/select.ts:24
Select