Page MenuHomePhabricator

Provide helper logic for text binded property
Closed, ResolvedPublic


One of the common use case of ViewModel is to gather different property and make a string out of it. It would be nice if we had a potential helper where we could just do something like setting a string like this "The file %{filename} is at item %{index}" and have it define a specific property of the ViewModel. I am thinking something like :

Efl.ViewModel.property_text_add(model, property_name, property_definition);