Open brandizzi opened 9 years ago
Original report by Adam Victor Brandizzi (Bitbucket: brandizzi, GitHub: brandizzi).
Instead of the current fill() method, or as an alternative to it, we should have a take() method that returns a representaiton of the element.
fill()
take()
e = animator.take(selector='.message')
The returned element would have a fill method:
e.fill('My message')
...and maybe also an insert() method to repeat itself:
insert()
e = animator.take(selector='ul.list li') for i in items: e.insert(i)
In principle, a taken element will not be present in the end result if it is not filled or inserted.
Original report by Adam Victor Brandizzi (Bitbucket: brandizzi, GitHub: brandizzi).
Instead of the current
fill()
method, or as an alternative to it, we should have atake()
method that returns a representaiton of the element.The returned element would have a fill method:
...and maybe also an
insert()
method to repeat itself:In principle, a taken element will not be present in the end result if it is not filled or inserted.