add examples in dom
add examples to doc