doc from_events.
Simon Elliott [Tue, 31 May 2011 10:43:58 +0000 (11:43 +0100)]
lib/HTML/Zoom.pm

index f540ec2..6ac8085 100644 (file)
@@ -632,6 +632,12 @@ zoom instance with that as the source HTML to be transformed.
 
 Convenience method - slurps the contents of $file and calls from_html with it.
 
+=head2 from_events
+
+  my $zoom = HTML::Zoom->from_events($evt);
+
+Create a new Zoom object from collected events
+
 =head2 to_stream
 
   my $stream = $zoom->to_stream;