widget add examples and api options
docs update