Files
ionic-framework/core/src/components/menu
Brandy Carney 427222cc29 refactor(item): remove no-lines attribute in favor of lines property (#14407)
* docs(components): update grammar and docs

* docs(item): update item documentation and add usage

* test(item): add lines test

* feat(list): add lines property to override borders on items

* feat(item): add lines property to override borders on items

* refactor(item): remove old uses of no-lines attribute

* fix(item-sliding): update item options to show border

- show the border on left options only if in a full list
- show the border on both options only if in an inset list (or ios by
default)
- don’t show border on either for no lines list (and md by default)

also renames isRightSide to isEndSide to match the side values

* chore(package): update package lock

* style(item): fix lint errors

* test(item): update item tests

* refactor(item): remove the custom styling of last child items

instead of us overriding first/last child items to have borders we are
going to add to the documentation how to style items with a full border

* fix(item): apply border to item inputs for MD mode

* docs(components): update docs based on new build

* docs(usage): update item usage to show lines being used

* fix(item): do not set the padding right to 0 on an item by default

* fix(item): cast lines to boolean

fixes: #5537 #13218 #12689 #12073 #9112
2018-05-07 17:16:11 -04:00
..
2018-04-10 00:14:10 +02:00
2018-04-10 00:14:10 +02:00

ion-menu

Properties

contentId

string

The content's id the menu should use.

disabled

boolean

If true, the menu is disabled. Default false.

maxEdgeStart

number

menuId

string

An id for the menu.

persistent

boolean

If true, the menu will persist on child pages.

side

string

Which side of the view the menu should be placed. Default "start".

swipeEnabled

boolean

If true, swiping the menu is enabled. Default true.

type

string

The display type of the menu. Default varies based on the mode, see the menuType in the config. Available options: "overlay", "reveal", "push".

Attributes

content-id

string

The content's id the menu should use.

disabled

boolean

If true, the menu is disabled. Default false.

max-edge-start

number

menu-id

string

An id for the menu.

persistent

boolean

If true, the menu will persist on child pages.

side

string

Which side of the view the menu should be placed. Default "start".

swipe-enabled

boolean

If true, swiping the menu is enabled. Default true.

type

string

The display type of the menu. Default varies based on the mode, see the menuType in the config. Available options: "overlay", "reveal", "push".

Events

ionClose

Emitted when the menu is closed.

ionMenuChange

ionOpen

Emitted when the menu is open.

Methods

close()

isActive()

isOpen()

open()

setOpen()

toggle()


Built with StencilJS