We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ctrl
space
@Actions (){...}
methodName-ClassName-action
generated Code:
@Action(ClassName) methodName({ patchState }: StateContext<MyStoreStateModel>) { // TODO - Implement action }
methodName-ClassName-action-payload
generated code:
@Action(ClassName) methodName({ patchState }: StateContext<MyStoreStateModel>, payload: ClassName) { // TODO - Implement action }
getUser-User-userid:string,userName?:string-action-payload
generated code: *.state.ts
@Action(User) getUser({ patchState }: StateContext<MyStoreStateModel>, payload: User) { // TODO - Implement action }
*.action.ts
export class User { static readonly type = '[my-store] User'; constructor(public userId: string, public userName: string) { } }
@Selectors(){...}
methodName-selector-meta
@Selector() static methodName(state: MyStoreStateModel) { return state; }
methodName-selector
@Selector([]) static methodName(state: MyStoreStateModel) { return state; }
The text was updated successfully, but these errors were encountered:
#30 - Advance live templates
94272c7
1856466
Merge pull request #32 from dinbtechit/feature/#30-advance-live-templ…
fb2f976
…ates Feature/#30 advance live templates
Fixed in v0.0.7
Sorry, something went wrong.
No branches or pull requests
Live Templates (anywhere within the state class -
ctrl
+space
to autocomplete)@Actions (){...}
generated Code:
generated code:
generated code:
*.state.ts
*.action.ts
@Selectors(){...}
The text was updated successfully, but these errors were encountered: