sopport event pass for ontoggle in _$toggle