README.md in pagelet_rails-0.1.7 vs README.md in pagelet_rails-0.1.8

- old
+ new

@@ -169,15 +169,20 @@ You can specify html attributes to pagelet with `html` option ### placeholder +Configuration for placeholder before pagelet is loaded. + ```erb <%= pagelet :pagelets_current_time, placeholder: { text: 'Loading...', height: 300 } %> ``` -Configuration for placeholder before pagelet is loaded. +or use your own placeholder template +```erb + <%= pagelet :pagelets_current_time, placeholder: { view: 'path_to_template' } %> +``` ### other You can pass any other data and it will be available in `pagelet_options`