Skip to content

เรื่องเล่า ของ เกรียงไกร

  • Home
  • Language
    • Chinese
    • English
  • Programming
    • Article
    • Flutter
    • Application
  • Lifestyle
  • About Me
  • Home
  • Language
    • Chinese
    • English
  • Programming
    • Article
    • Flutter
    • Application
  • Lifestyle
  • About Me
pipe

pipe

ทำ Angular Template ให้เป็น Async ด้วย Async Pipe

April 24, 2021April 27, 2021 programming

วิธีแก้ไขคือ แทนที่จะรับเป็น Object ก็เปลี่ยนเป็น Observable แทน แล้วให้ตัว subscribe คือ template
จะได้เหมือนดังรูปล่าง

kreangkrai supchid

April 24, 2021

Multiple inline command with pipe

July 2, 2020July 3, 2020 programming

อยากทำ command one line ทำอย่างงี้นะ!!!

kreangkrai supchid

July 2, 2020
Because you can't memorize all life stories, sharing notes with others is good to remember yourself.