// DiffApply is a special event that will trigger when a diff is applied.
// This means that it will trigger itself when first added. This will allow you to know when a change in the tree has
// made it to the browser. You can then, if you wish, immediately remove it from the tree to prevent more triggers.
// You can also add it as a OnOnce and it wil remove itself.
DiffApply is a special event that will trigger when a diff is applied.
This means that it will trigger itself when first added. This will allow you to know when a change in the tree has
made it to the browser. You can then, if you wish, immediately remove it from the tree to prevent more triggers.
You can also add it as a OnOnce and it wil remove itself.
// DiffApply is a special event that will trigger when a diff is applied . // This means that it will trigger itself when first added . This will allow you to know when a change in the tree has // made it to the browser . You can then if you wish immediately remove it from the tree to prevent more triggers . // You can also add it as a OnOnce and it wil remove itself .
func OnDiffApply(handler l.EventHandler) *l.ElementGroup {
	eb := l.On(DiffApplyEvent, handler)
	attr := &DiffApplyAttribute{
		l.NewAttribute(DiffApplyAttributeName, eb.ID),
	}
	return l.E(eb, attr)
}
func OnDiffApply ( handler l . EventHandler ) * l . ElementGroup { eb := l . On ( DiffApplyEvent , handler ) attr := & DiffApplyAttribute { l . NewAttribute ( DiffApplyAttributeName , eb . ID ) , } return l . E ( eb , attr ) }
DiffApply is a special event that will trigger when a diff is applied.
DiffApply is a special event that will trigger when a diff is applied .