コード例 #1
0
ファイル: block_test.py プロジェクト: garindra/brick
    def construct(self):
        z = []

        with Div().into(z):
            z += text("second")

        return z
コード例 #2
0
ファイル: block_test.py プロジェクト: garindra/brick
    def construct(self):    
        z = []

        with Div().into(z):
            z += text("first")
            z += SecondLevelBlock()

        return z