摘要: x, y, z = 0, 1, 0 if x == 1 or y == 1 or z == 1: print('passed') if 1 in (x, y, z): print('passed') # These only test for truthiness: if x or y or z: print('passed') if any((x, y, z))... 阅读全文
posted @ 2017-09-27 20:00 Zhentiw 阅读(195) 评论(0) 推荐(0)
摘要: If you want to style host component. You can use ':host-context'. In the host component, we have 'styled-component' class, we want to apply some css t 阅读全文
posted @ 2017-09-27 00:58 Zhentiw 阅读(1982) 评论(0) 推荐(0)