# AngularでObjectを返すカスタムPipeを作ったがValueへのアクセス方法がわかなかったので調べてみた
Table of Contents
Objectを返すPipe
template側で展開するとこんな感じのやつ。
value | customPipe |json
{hoge:'hoge', fugo:'fugo', piyo.'piyo'}参照方法は簡単
(value | customPipe).hoge// hogeで参照できる、ただこれだけ。
template側で展開するとこんな感じのやつ。
value | customPipe |json
{hoge:'hoge', fugo:'fugo', piyo.'piyo'}(value | customPipe).hoge// hogeで参照できる、ただこれだけ。
Thanks for reading my blog post! Feel free to check out my other posts or contact me via the social links in the footer.
後は上の記述を編集し、http://localhost:3000/api/を開けば作成されている。
WordPressの記事管理に頭を悩ませてきた。