add example for calling method on custom element